3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Books{ /* Member variables */ var $price; var $title; /* Member functions */ function setPrice($par){ $this->price = $par; } function getPrice(){ echo $this->price ."<br/>"; } function setTitle($par){ $this->title = $par; } function getTitle(){ echo $this->title ." <br/>"; } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9ABXQ
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E > > RETURN                                                   1

Class Books:
Function setprice:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9ABXQ
function name:  setPrice
number of ops:  4
compiled vars:  !0 = $par
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        ASSIGN_OBJ                                               'price'
          2        OP_DATA                                                  !0
    9     3      > RETURN                                                   null

End of function setprice

Function getprice:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9ABXQ
function name:  getPrice
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   FETCH_OBJ_R                                      ~0      'price'
          1        CONCAT                                           ~1      ~0, '%3Cbr%2F%3E'
          2        ECHO                                                     ~1
   12     3      > RETURN                                                   null

End of function getprice

Function settitle:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9ABXQ
function name:  setTitle
number of ops:  4
compiled vars:  !0 = $par
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
   14     1        ASSIGN_OBJ                                               'title'
          2        OP_DATA                                                  !0
   15     3      > RETURN                                                   null

End of function settitle

Function gettitle:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9ABXQ
function name:  getTitle
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   FETCH_OBJ_R                                      ~0      'title'
          1        CONCAT                                           ~1      ~0, '+%3Cbr%2F%3E'
          2        ECHO                                                     ~1
   18     3      > RETURN                                                   null

End of function gettitle

End of class Books.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.67 ms | 1386 KiB | 13 Q