3v4l.org

run code in 500+ PHP versions simultaneously
<?php $foo = new stdClass(); var_export($foo); $bar = stdClass::__set_state(array());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XSPRH
function name:  (null)
number of ops:  11
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $2      'stdClass'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $2
    4     3        INIT_FCALL                                                   'var_export'
          4        SEND_VAR                                                     !0
          5        DO_ICALL                                                     
    5     6        INIT_STATIC_METHOD_CALL                                      'stdClass', '__set_state'
          7        SEND_VAL_EX                                                  <array>
          8        DO_FCALL                                          0  $6      
          9        ASSIGN                                                       !1, $6
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
182.86 ms | 3342 KiB | 14 Q