3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(”2”=>”b”,“1”=>”a”,”3”=>”c”); $b = array(1=>”a”,3=>”c”,2=>”b”);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0kaHp
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_CONSTANT                                   ~2      '%E2%80%9D2%E2%80%9D'
          1        FETCH_CONSTANT                                   ~3      '%E2%80%9Db%E2%80%9D'
          2        INIT_ARRAY                                       ~4      ~3, ~2
          3        FETCH_CONSTANT                                   ~5      '%E2%80%9C1%E2%80%9D'
          4        FETCH_CONSTANT                                   ~6      '%E2%80%9Da%E2%80%9D'
          5        ADD_ARRAY_ELEMENT                                ~4      ~6, ~5
          6        FETCH_CONSTANT                                   ~7      '%E2%80%9D3%E2%80%9D'
          7        FETCH_CONSTANT                                   ~8      '%E2%80%9Dc%E2%80%9D'
          8        ADD_ARRAY_ELEMENT                                ~4      ~8, ~7
          9        ASSIGN                                                   !0, ~4
    3    10        FETCH_CONSTANT                                   ~10     '%E2%80%9Da%E2%80%9D'
         11        INIT_ARRAY                                       ~11     ~10, 1
         12        FETCH_CONSTANT                                   ~12     '%E2%80%9Dc%E2%80%9D'
         13        ADD_ARRAY_ELEMENT                                ~11     ~12, 3
         14        FETCH_CONSTANT                                   ~13     '%E2%80%9Db%E2%80%9D'
         15        ADD_ARRAY_ELEMENT                                ~11     ~13, 2
         16        ASSIGN                                                   !1, ~11
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.14 ms | 1397 KiB | 13 Q