3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strlen(null)); var_dump(date("d-m-Y", "2015-04-05")); var_dump(date("d-m-Y", "2015-08-02"));
based on JsE3M
Output for 5.1.0 - 7.2.0
int(0) Notice: A non well formed numeric value encountered in /in/vK3cW on line 3 string(10) "01-01-1970" Notice: A non well formed numeric value encountered in /in/vK3cW on line 5 string(10) "01-01-1970"
Output for 4.3.0 - 5.0.5
int(0) string(10) "01-01-1970" string(10) "01-01-1970"