3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(set_include_path("/path/to/php\0extra")); echo get_include_path()."\n";
based on oltd2
Output for 5.4.41 - 5.4.45, 5.5.25 - 5.5.35, 5.6.9 - 7.2.0
Warning: set_include_path() expects parameter 1 to be a valid path, string given in /in/4bRRN on line 2 NULL .:
Output for 5.4.0 - 5.4.40, 5.5.24, 5.6.7 - 5.6.8
string(2) ".:" /path/to/php
Output for 5.3.19 - 5.3.29
bool(false) .: