3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomeClass implements \JsonSerializable { private $content; public function jsonSerialize() { return $this->content; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h12gG
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'someclass'
   10     1      > RETURN                                                   1

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

End of function jsonserialize

End of class SomeClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.9 ms | 1384 KiB | 13 Q