3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array1 = [ 0 => 2018-08-21 10:00:00, 1 => 2018-08-28 10:00:00, 2 => 2018-09-04 10:00:00, 3 => 2018-09-11 10:00:00, 4 => 2018-09-18 10:00:00, ]; $array2 = [ 0 => 2018-08-21 10:00:00, 1 => 2018-08-28 10:00:00, 2 => 2018-09-04 10:00:00, 3 => 2018-09-11 10:00:00, 4 => 2018-09-18 10:00:00, 5 => 2019-09-18 10:00:00, ]; $diff = array_diff($array1, $array2); var_dump($array1, $array2, $diff);
Output for git.master_jit, git.master
Parse error: Invalid numeric literal in /in/f734u on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
31.18 ms | 621 KiB | 3 Q