3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("GOOGLE_URL","https://www.google.co.jp"); echo GOOGLE_URL; $word = "php"; $name = "join"; echo $word,$name; $sampleArray1 = [1,2,3]; $sampleArray2 = array(1,2,3); echo $sampleArray1[0],$sampleArray2; ?>
Output for git.master_jit, git.master
https://www.google.co.jpphpjoin1 Warning: Array to string conversion in /in/d1FUQ on line 14 Array

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:
27.79 ms | 405 KiB | 5 Q