3v4l.org

run code in 300+ PHP versions simultaneously
<?php $job = 'set_option'; $class = 'Timely_Gearman_Worker_' . implode( '_', array_map( 'ucfirst', explode( '_', $job ) ) ); var_dump( $class );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BSscH
function name:  (null)
number of ops:  19
compiled vars:  !0 = $job, !1 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'set_option'
    4     1        INIT_FCALL                                               'implode'
    5     2        SEND_VAL                                                 '_'
    6     3        INIT_FCALL                                               'array_map'
    7     4        SEND_VAL                                                 'ucfirst'
    8     5        INIT_FCALL                                               'explode'
          6        SEND_VAL                                                 '_'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                         $5      
         13        CONCAT                                           ~6      'Timely_Gearman_Worker_', $5
    4    14        ASSIGN                                                   !1, ~6
   11    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.12 ms | 1399 KiB | 21 Q