3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $toto = "SIGNY L'ABBAYE"; echo str_replace("'", "\'", ($toto))."\n"; $timestamp = 1397810281; echo date("Y-m-d H:i:s", $timestamp)."\n"; $time = time(); echo $time."\n"; echo "diff = ".$timestamp-$time."\n";
Output for 7.1.0 - 7.2.0
SIGNY L\'ABBAYE 2014-04-18 10:38:01 1398850083 Warning: A non-numeric value encountered in /in/bgpi4 on line 10 -1398850083
Output for 4.3.0 - 7.0.20
SIGNY L\'ABBAYE 2014-04-18 10:38:01 1398850083 -1398850083