3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a1 = array( 0 => array( 'price' => 100 ), 1 => array( 'price' => 200 ) ); $a2 = array( 1 => array( 'price' => 400 ), 3 => array( 'price' => 500 ) ); array_diff($a1, $a2);
Output for 7.0.0 - 7.2.0
Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22
Output for 5.4.0 - 5.6.28
Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22 Notice: Array to string conversion in /in/TSdqJ on line 22
Output for 5.3.19 - 5.3.29