3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $uri_string = ' url( "http://www.example.com/" ) '; $uri_string = substr($uri_string, 4); if (strlen($uri_string) == 0) { return false; } $new_length = strlen($uri_string) - 1; $uri_string[$new_length] != ')'; var_dump($uri_string);
based on J4IGt
Output for 5.5.0 - 7.3.0rc4
string(34) "l( "http://www.example.com/" ) "