progman1010
Programmer
Hello- this is more of a "why" question than a problem itself...
It's easy to create and reference 3-dimensional objects:
PHP syntax allows me to include a 2D object into a string without much trouble:
but when I put a 3D object into a string like above:
the parser doesn't even give me an error- it just stops execution altogether! (yes, display errors is on and error_reporting is ALL) So what i get is a blank screen which is far less helpful.
Anyone know why?
It's easy to create and reference 3-dimensional objects:
Code:
//example
$ob->firstkey->nextkey;
PHP syntax allows me to include a 2D object into a string without much trouble:
Code:
echo "Some text and $var->thisval more regular text";
// where $var->thisval is the object
but when I put a 3D object into a string like above:
Code:
echo "some text and $var->thiskey->thisval more text";
// where $val->thiskey->thisval is the object
the parser doesn't even give me an error- it just stops execution altogether! (yes, display errors is on and error_reporting is ALL) So what i get is a blank screen which is far less helpful.
Anyone know why?