3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(parse_url('http://www.google.com', PHP_URL_PATH)); var_dump(parse_url('http://www.google.com/abc', PHP_URL_PATH)); ltrim(parse_url('http://www.google.com', PHP_URL_PATH), '/');
Output for git.master, git.master_jit, rfc.property-hooks
NULL string(4) "/abc" Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /in/QRC1o on line 7

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
57.21 ms | 1248 KiB | 4 Q