3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strstr(time(), false));
Output for 8.0.0 - 8.0.13, 8.1rc1 - rc3
string(10) "1637856722"
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.26
Deprecated: strstr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /in/uMTeY on line 3 bool(false)

preferences:
25.95 ms | 535 KiB | 15 Q