3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar; } var_dump(get_object_vars(new Foo)); $blanks = array("", " ", FALSE, TRUE, array(), NULL, "0", 0, 0.0, new stdClass, "\0"); #foreach($blanks as $blank){ var_dump($blank); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sgLHE
function name:  (null)
number of ops:  23
compiled vars:  !0 = $blanks
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'get_object_vars'
          2        NEW                                              $1      'Foo'
          3        DO_FCALL                                      0          
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                                 
    6     8        INIT_ARRAY                                       ~5      ''
          9        ADD_ARRAY_ELEMENT                                ~5      '+'
         10        ADD_ARRAY_ELEMENT                                ~5      <false>
         11        ADD_ARRAY_ELEMENT                                ~5      <true>
         12        ADD_ARRAY_ELEMENT                                ~5      <array>
         13        ADD_ARRAY_ELEMENT                                ~5      null
         14        ADD_ARRAY_ELEMENT                                ~5      '0'
         15        ADD_ARRAY_ELEMENT                                ~5      0
         16        ADD_ARRAY_ELEMENT                                ~5      0
         17        NEW                                              $6      'stdClass'
         18        DO_FCALL                                      0          
         19        ADD_ARRAY_ELEMENT                                ~5      $6
         20        ADD_ARRAY_ELEMENT                                ~5      '%00'
         21        ASSIGN                                                   !0, ~5
    8    22      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.78 ms | 1395 KiB | 17 Q