3v4l.org

run code in 300+ PHP versions simultaneously
<?php class T { private $allowed = 0; //function __destruct() { if ($this->allowed == 1) echo "SUCCESS"; } }; $a = new T(); print($a); //$data = 'O:1:"T":2:{s:10:"Tallowed";i:1;s:10:"Tallowen";i:1;}'; var_dump(unserialize($data)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eaX0f
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $2      'T'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    9     3        ECHO                                                     !0
   12     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'unserialize'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        DO_ICALL                                                 
   14    10      > RETURN                                                   1

Class T: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.04 ms | 1398 KiB | 17 Q