3v4l.org

run code in 500+ PHP versions simultaneously
<?php $row = array('n_surn' => 'CORTEEN', 'sn_count' => 227); $surname = array(); $name = $row['n_surn']; $cnt = $row['sn_count']; print_r($row); print($name); print($cnt); $surnames[$name]['name'] = $name; $surnames[$name]['match'] = $cnt; print_r($surnames);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IHa01
function name:  (null)
number of ops:  21
compiled vars:  !0 = $row, !1 = $surname, !2 = $name, !3 = $cnt, !4 = $surnames
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    5     1        ASSIGN                                                       !1, <array>
    6     2        FETCH_DIM_R                                          ~7      !0, 'n_surn'
          3        ASSIGN                                                       !2, ~7
    7     4        FETCH_DIM_R                                          ~9      !0, 'sn_count'
          5        ASSIGN                                                       !3, ~9
    8     6        INIT_FCALL                                                   'print_r'
          7        SEND_VAR                                                     !0
          8        DO_ICALL                                                     
    9     9        ECHO                                                         !2
   10    10        ECHO                                                         !3
   11    11        FETCH_DIM_W                                          $12     !4, !2
         12        ASSIGN_DIM                                                   $12, 'name'
         13        OP_DATA                                                      !2
   12    14        FETCH_DIM_W                                          $14     !4, !2
         15        ASSIGN_DIM                                                   $14, 'match'
         16        OP_DATA                                                      !3
   14    17        INIT_FCALL                                                   'print_r'
         18        SEND_VAR                                                     !4
         19        DO_ICALL                                                     
         20      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
126.75 ms | 478 KiB | 8 Q