3v4l.org

run code in 500+ PHP versions simultaneously
<?php class User { private $id; private $name; public function __sleep() { return ['id', 'name']; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/51uu0
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E > > RETURN                                                       1

Class User:
Function __sleep:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/51uu0
function name:  __sleep
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                       <array>
    9     1*     > RETURN                                                       null

End of function __sleep

End of class User.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
152.86 ms | 1437 KiB | 13 Q