3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{} echo serialize([1, '2', [3,3,3], 4.0, new Foo]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8DYb7
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'serialize'
          1        INIT_ARRAY                                       ~0      1
          2        ADD_ARRAY_ELEMENT                                ~0      '2'
          3        ADD_ARRAY_ELEMENT                                ~0      <array>
          4        ADD_ARRAY_ELEMENT                                ~0      4
          5        NEW                                              $1      'Foo'
          6        DO_FCALL                                      0          
          7        ADD_ARRAY_ELEMENT                                ~0      $1
          8        SEND_VAL                                                 ~0
          9        DO_ICALL                                         $3      
         10        ECHO                                                     $3
         11      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.85 ms | 1394 KiB | 15 Q