|
הערה :
While the above example may seem like it should clearly result in $a becoming an array , the first element of which is ' f ' , consider this :
Since PHP supports indexing into strings via offsets using the same syntax as array indexing , the example above leads to a problem : should $a become an array with its first element being " f" , or should "f " become the first character of the string $a ?
For this reason , as of PHP 3.0.12 and PHP 4.0b3-RC4 , the result of this automatic conversion is considered to be undefined . Fixes are , however , being discussed .
הערה :