3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 8.4.1 - 8.4.6
Deprecated: build_external_url(): Implicitly marking parameter $path as nullable is deprecated, the explicit nullable type must be used instead in /in/IT2fo on line 3 Deprecated: build_external_url(): Implicitly marking parameter $schema as nullable is deprecated, the explicit nullable type must be used instead in /in/IT2fo on line 3 Deprecated: build_external_url(): Implicitly marking parameter $port as nullable is deprecated, the explicit nullable type must be used instead in /in/IT2fo on line 3 foo.co foo.co/bar foo.co/bar?x=baz ftp://foo.co/bar ftp://foo.co:24225/bar?email=me%40foo.co
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.32, 8.2.0 - 8.2.28, 8.3.0 - 8.3.19
foo.co foo.co/bar foo.co/bar?x=baz ftp://foo.co/bar ftp://foo.co:24225/bar?email=me%40foo.co

preferences:
131.64 ms | 414 KiB | 5 Q