3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ar = Array ( 0 => Array ( name => "The 5th Wave", releaseDate => '2016-01-22', dates => Array ( date => Array ( 0 => '2016-01-27', 1 => '2016-01-26' ) ) ), 1 => Array ( name => 'Dirty Grandpa', releaseDate => '2016-01-21', dates => Array ( date => Array ( 0 => '2016-01-27', 1 => '2016-01-26' ) ) ), 2 => Array ( name => 'The Revenant', releaseDate => '2016-01-14', dates => Array ( date => Array ( 0 => '2016-01-27', 1 => '2016-01-26' ) ) ) );
Output for 7.2.0
Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 7 Warning: Use of undefined constant releaseDate - assumed 'releaseDate' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 8 Warning: Use of undefined constant dates - assumed 'dates' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 9 Warning: Use of undefined constant date - assumed 'date' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 11 Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 21 Warning: Use of undefined constant releaseDate - assumed 'releaseDate' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 22 Warning: Use of undefined constant dates - assumed 'dates' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 23 Warning: Use of undefined constant date - assumed 'date' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 25 Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 35 Warning: Use of undefined constant releaseDate - assumed 'releaseDate' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 36 Warning: Use of undefined constant dates - assumed 'dates' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 37 Warning: Use of undefined constant date - assumed 'date' (this will throw an Error in a future version of PHP) in /in/43NL7 on line 39
Output for 5.3.22 - 7.1.10
Notice: Use of undefined constant name - assumed 'name' in /in/43NL7 on line 7 Notice: Use of undefined constant releaseDate - assumed 'releaseDate' in /in/43NL7 on line 8 Notice: Use of undefined constant dates - assumed 'dates' in /in/43NL7 on line 9 Notice: Use of undefined constant date - assumed 'date' in /in/43NL7 on line 11 Notice: Use of undefined constant name - assumed 'name' in /in/43NL7 on line 21 Notice: Use of undefined constant releaseDate - assumed 'releaseDate' in /in/43NL7 on line 22 Notice: Use of undefined constant dates - assumed 'dates' in /in/43NL7 on line 23 Notice: Use of undefined constant date - assumed 'date' in /in/43NL7 on line 25 Notice: Use of undefined constant name - assumed 'name' in /in/43NL7 on line 35 Notice: Use of undefined constant releaseDate - assumed 'releaseDate' in /in/43NL7 on line 36 Notice: Use of undefined constant dates - assumed 'dates' in /in/43NL7 on line 37 Notice: Use of undefined constant date - assumed 'date' in /in/43NL7 on line 39