3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new DateTime('2016-01-30'); $a - intval(str_replace("-", "", "1988-12-21"))''
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected '''' (T_CONSTANT_ENCAPSED_STRING) in /in/A8MM2 on line 5
Process exited with code 255.

preferences:
159.29 ms | 1399 KiB | 22 Q