3v4l.org

run code in 300+ PHP versions simultaneously
<?php $customer['address'] = '123 fake st'; $customer['name'] = 'Tim'; $customer['dob'] = '12/08/1986'; $customer['dontSortMe'] = 'this value doesnt need to be sorted'; $properOrderedArray = array_merge(array_flip(array('name', 'dob', 'address')), $customer);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/noBHX
function name:  (null)
number of ops:  17
compiled vars:  !0 = $customer, !1 = $properOrderedArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'address'
          1        OP_DATA                                                  '123+fake+st'
    4     2        ASSIGN_DIM                                               !0, 'name'
          3        OP_DATA                                                  'Tim'
    5     4        ASSIGN_DIM                                               !0, 'dob'
          5        OP_DATA                                                  '12%2F08%2F1986'
    6     6        ASSIGN_DIM                                               !0, 'dontSortMe'
          7        OP_DATA                                                  'this+value+doesnt+need+to+be+sorted'
    8     8        INIT_FCALL                                               'array_merge'
          9        INIT_FCALL                                               'array_flip'
         10        SEND_VAL                                                 <array>
         11        DO_ICALL                                         $6      
         12        SEND_VAR                                                 $6
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $7      
         15        ASSIGN                                                   !1, $7
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.67 ms | 1399 KiB | 17 Q