3v4l.org

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

Class Foo\New\Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.73 ms | 939 KiB | 20 Q