3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = ucfirst('from'); $meta = [ 'date' => '23.06.2013', ]; $s = 'station' . $t; $meta[$s] = 'test'; var_dump($meta, $s, ucfirst('from'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7s57Z
function name:  (null)
number of ops:  18
compiled vars:  !0 = $t, !1 = $meta, !2 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ucfirst'
          1        SEND_VAL                                                 'from'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        ASSIGN                                                   !1, <array>
    6     5        CONCAT                                           ~6      'station', !0
          6        ASSIGN                                                   !2, ~6
    7     7        ASSIGN_DIM                                               !1, !2
          8        OP_DATA                                                  'test'
    8     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        SEND_VAR                                                 !2
         12        INIT_FCALL                                               'ucfirst'
         13        SEND_VAL                                                 'from'
         14        DO_ICALL                                         $9      
         15        SEND_VAR                                                 $9
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.08 ms | 1394 KiB | 17 Q