3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public $yo = 'boobies'; public function getYo () { print $this->yo; } } $a = new test(); $s = serialize($a); print_r($s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h279W
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   NEW                                              $2      'test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   13     3        INIT_FCALL                                               'serialize'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !1, $5
   15     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Class test:
Function getyo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h279W
function name:  getYo
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   FETCH_OBJ_R                                      ~0      'yo'
          1        ECHO                                                     ~0
    8     2      > RETURN                                                   null

End of function getyo

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.52 ms | 1394 KiB | 17 Q