3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** *class Foo *{ * protected $bar = null; * * public function __construct($bar = null) * { * $this->bar = $bar; * } *} * * The class above represents the serialized, base64_encoded string below. */ $serialized = 'TzozOiJGb28iOjE6e3M6NjoiACoAYmFyIjtzOjM6ImJheiI7fQ=='; class Foo { public $bar = null; } $class = base64_decode($serialized); var_dump($class);exit;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/Dk91k
function name:  (null)
number of ops:  10
compiled vars:  !0 = $serialized, !1 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ASSIGN                                                   !0, 'TzozOiJGb28iOjE6e3M6NjoiACoAYmFyIjtzOjM6ImJheiI7fQ%3D%3D'
   23     1        INIT_FCALL                                               'base64_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   24     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > EXIT                                                     
          9*     > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.76 ms | 1398 KiB | 17 Q