3v4l.org

run code in 300+ PHP versions simultaneously
<?php $categoryMap = array("ARCH" => "Architects (Degreed & Licensed - Active & Retired)", "ARCHPROF" => "Architectural Professionals (Degreed)", "ENG" => "Engineers (Degreed & Licensed - Active & Retired)", "ENGPROF" => "Engineering Professionals (Degreed)", "NON-US" => "Non-U.S. Architects and Engineers & Architectural and Engineering Professionals", "XMISC" => "Other Supporters and A&E Students"); $occupationMap = array("L" => "Degreed & Licensed", "U" => "Degreed", "S" => "Student", "O" => "Other"); function rrmdir($i) { echo $categoryMap[$i]; }; rrmdir("ARCH");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tum67
function name:  (null)
number of ops:  6
compiled vars:  !0 = $categoryMap, !1 = $occupationMap
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    8     1        ASSIGN                                                   !1, <array>
   13     2        INIT_FCALL                                               'rrmdir'
          3        SEND_VAL                                                 'ARCH'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function rrmdir:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tum67
function name:  rrmdir
number of ops:  4
compiled vars:  !0 = $i, !1 = $categoryMap
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   11     1        FETCH_DIM_R                                      ~2      !1, !0
          2        ECHO                                                     ~2
   12     3      > RETURN                                                   null

End of function rrmdir

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.83 ms | 1388 KiB | 14 Q