<?php
$arr=Array
(
[0] => Array
(
["Title"] => "La science des rĂªves"
["Year"] => "2006"
["Director"] => Array
(
["Name"] => "Michel Gondry"
["BirthYear"] => "1963"
["BirthPlace"] => "Versailles, Yvelines, France"
)
)
[1] => Array
(
["Title"] => "Arizona Dream"
["Year"] => "1992"
["Director"] => Array
(
["Name"] => "Emir Kusturica"
["BirthYear"] => "1954"
["BirthPlace"] => "Sarajevo, Bosnia and Herzegovina, Yugoslavia"
)
)
);
$ck=Array
(
[0] => Title
[1] => Director.Name
[2] => Director.BirthYear
);
print_r($arr);
- Output for 5.5.0 - 5.5.9
- Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')' in /in/P9dt2 on line 8
Process exited with code 255. - Output for 5.4.0 - 5.4.25
- Parse error: syntax error, unexpected '[', expecting ')' in /in/P9dt2 on line 8
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected '[', expecting ')' in /in/P9dt2 on line 5
Process exited with code 255.
preferences:
178.35 ms | 1399 KiB | 72 Q