3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php array_diff( [ ['a'=> 8, 'b' => 2, 'c' => 3], ['a'=> 2, 'b' => 2, 'c' => 3], ['a'=> 1, 'b' => 2, 'c' => 3] ], [ ['a'=> 4, 'b' => 2, 'c' => 3], ['a'=> 1, 'b' => 2, 'c' => 3], ['a'=> 3, 'b' => 2, 'c' => 3] ] );
Output for 7.0.0 - 7.2.0
Notice: Array to string conversion in /in/QRZVB on line 10 Notice: Array to string conversion in /in/QRZVB on line 10 Notice: Array to string conversion in /in/QRZVB on line 10 Notice: Array to string conversion in /in/QRZVB on line 10 Notice: Array to string conversion in /in/QRZVB on line 10 Notice: Array to string conversion in /in/QRZVB on line 10
Output for 5.4.10 - 5.6.28
Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14 Notice: Array to string conversion in /in/QRZVB on line 14
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/QRZVB on line 4
Process exited with code 255.