3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(”2”=>”b”,“1”=>”a”,”3”=>”c”); $b = array(1=>”a”,3=>”c”,2=>”b”);

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
Notice: Use of undefined constant ”2” - assumed '”2”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”b” - assumed '”b”' in /in/0kaHp on line 2 Notice: Use of undefined constant “1” - assumed '“1”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”a” - assumed '”a”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”3” - assumed '”3”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”c” - assumed '”c”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”a” - assumed '”a”' in /in/0kaHp on line 3 Notice: Use of undefined constant ”c” - assumed '”c”' in /in/0kaHp on line 3 Notice: Use of undefined constant ”b” - assumed '”b”' in /in/0kaHp on line 3
Output for Array change keys
Notice: Use of undefined constant ”2” - assumed '”2”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”b” - assumed '”b”' in /in/0kaHp on line 2 Notice: Use of undefined constant “1” - assumed '“1”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”a” - assumed '”a”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”3” - assumed '”3”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”c” - assumed '”c”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”a” - assumed '”a”' in /in/0kaHp on line 3 Notice: Use of undefined constant ”c” - assumed '”c”' in /in/0kaHp on line 3 Notice: Use of undefined constant ”b” - assumed '”b”' in /in/0kaHp on line 3
Output for Lexical anon
Notice: Use of undefined constant ”2” - assumed '”2”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”b” - assumed '”b”' in /in/0kaHp on line 2 Notice: Use of undefined constant “1” - assumed '“1”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”a” - assumed '”a”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”3” - assumed '”3”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”c” - assumed '”c”' in /in/0kaHp on line 2 Notice: Use of undefined constant ”a” - assumed '”a”' in /in/0kaHp on line 3 Notice: Use of undefined constant ”c” - assumed '”c”' in /in/0kaHp on line 3 Notice: Use of undefined constant ”b” - assumed '”b”' in /in/0kaHp on line 3

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