3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( 'permissions', 'this'); $toost = array('this', 'permissions'); var_dump((bool)array_diff($test , $toost))
Output for 5.4.0 - 5.4.12, 5.4.14
Parse error: syntax error, unexpected end of file in lOKC3 on line 9
Process exited with code 255.
Output for 5.4.13
Parse error: syntax error, unexpected end of file in /in/H6i2E on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.3.24
Parse error: syntax error, unexpected $end in lOKC3 on line 9
Process exited with code 255.
Output for 5.3.23
Parse error: syntax error, unexpected $end in /in/H6i2E on line 9
Process exited with code 255.

preferences:
273.48 ms | 1395 KiB | 48 Q