3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = "RevisionToVersion"; $class = preg_replace("~([A-Z])~", "_$1", $class); var_dump(strtolower("pm{$class}"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KLH8l
function name:  (null)
number of ops:  16
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'RevisionToVersion'
    3     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%7E%28%5BA-Z%5D%29%7E'
          3        SEND_VAL                                                 '_%241'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    5     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'strtolower'
          9        NOP                                                      
         10        FAST_CONCAT                                      ~4      'pm', !0
         11        SEND_VAL                                                 ~4
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.25 ms | 1394 KiB | 19 Q