3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test {} $a = new test(); $classParts = explode('\\', get_class($this)); echo end($classParts);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G1VDF
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $classParts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $2      'test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    6     3        INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '%5C'
          5        FETCH_THIS                                       ~5      
          6        GET_CLASS                                        ~6      ~5
          7        SEND_VAL                                                 ~6
          8        DO_ICALL                                         $7      
          9        ASSIGN                                                   !1, $7
    7    10        INIT_FCALL                                               'end'
         11        SEND_REF                                                 !1
         12        DO_ICALL                                         $9      
         13        ECHO                                                     $9
         14      > RETURN                                                   1

Class test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.41 ms | 1394 KiB | 17 Q