3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo{class Bar {}} namespace { var_dump(serialize(new \Foo\Bar())); var_dump(unserialize('O:20:"..\\..\\..\\.ssh\\id_rsa":0:{}')); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a5jlI
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'serialize'
          2        NEW                                              $0      'Foo%5CBar'
          3        DO_FCALL                                      0          
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'unserialize'
         10        SEND_VAL                                                 'O%3A20%3A%22..%5C..%5C..%5C.ssh%5Cid_rsa%22%3A0%3A%7B%7D'
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
    8    14      > RETURN                                                   1

Class Foo\Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.27 ms | 1394 KiB | 19 Q