3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Some\Name\Space; use stdClass; $x = new \stdClass; $x->name = "Foobar"; var_dump( $x->__sleep() );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mKHjI
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    6     3        ASSIGN_OBJ                                               !0, 'name'
          4        OP_DATA                                                  'Foobar'
    9     5        INIT_NS_FCALL_BY_NAME                                    'Some%5CName%5CSpace%5Cvar_dump'
          6        INIT_METHOD_CALL                                         !0, '__sleep'
          7        DO_FCALL                                      0  $5      
          8        SEND_VAR_NO_REF_EX                                       $5
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169 ms | 1394 KiB | 15 Q