3v4l.org

run code in 300+ PHP versions simultaneously
<?php class uWU{ var $nxt=array(); function __wakeup(){ $this->nxt=array(); } } $x=unserialize('a:2{i:0;O:3:"uWU":1:{s:3:"nxt";a:1:{i:0;s:1:"x";}}i:1;R:4;}'); $a=str_repeat('a',10); var_dump($x); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bp8mC
function name:  (null)
number of ops:  13
compiled vars:  !0 = $x, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'unserialize'
          1        SEND_VAL                                                 'a%3A2%7Bi%3A0%3BO%3A3%3A%22uWU%22%3A1%3A%7Bs%3A3%3A%22nxt%22%3Ba%3A1%3A%7Bi%3A0%3Bs%3A1%3A%22x%22%3B%7D%7Di%3A1%3BR%3A4%3B%7D'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
   10     4        INIT_FCALL                                               'str_repeat'
          5        SEND_VAL                                                 'a'
          6        SEND_VAL                                                 10
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
   11     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
   12    12      > RETURN                                                   1

Class uWU:
Function __wakeup:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bp8mC
function name:  __wakeup
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN_OBJ                                               'nxt'
          1        OP_DATA                                                  <array>
    7     2      > RETURN                                                   null

End of function __wakeup

End of class uWU.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.28 ms | 1399 KiB | 19 Q