|
|
הערה :
$a = array( 1 = 'one' , 2 = 'two' , 3 = 'three ' ) ; unset ( $a[2 ] ) ; / * will produce an array that would have been defined as $a = array ( 1= 'one' , 3= 'three') ; and NOT $a = array ( 1 = 'one' , 2 = 'three') ; * /
|
|
הערה : When you turn error_reporting to E_ALL , you will see that PHP generates warnings whenever this construct is used . This is also valid for other deprecated ' features' . (put the line error_reporting(E_ALL) ; in your script )
הערה : Inside a double-quoted string , an other syntax is valid . See variable parsing in strings for more details .
|