3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; $b = [1, 2]; $c = getimagesize('https://www.google.ch/logos/doodles/2015/bks-iyengars-97th-birthday-5749978756546560-5730192894984192-ror.gif'); var_dump(!$a, !$b, !$c); var_dump(empty($a), empty($b), empty($c)); var_dump($c);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: getimagesize(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/3Xa0a on line 5 Warning: getimagesize(): open_basedir restriction in effect. File(https://www.google.ch/logos/doodles/2015/bks-iyengars-97th-birthday-5749978756546560-5730192894984192-ror.gif) is not within the allowed path(s): (/tmp:/in:/etc) in /in/3Xa0a on line 5 Warning: getimagesize(https://www.google.ch/logos/doodles/2015/bks-iyengars-97th-birthday-5749978756546560-5730192894984192-ror.gif): Failed to open stream: Operation not permitted in /in/3Xa0a on line 5 bool(true) bool(false) bool(true) bool(true) bool(false) bool(true) bool(false)

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:
44.52 ms | 402 KiB | 8 Q