3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Chanelle { private $_famille = 'rats'; public function __construct() { echo "Le propriƩtaire de Chanelle est Dorianne\n"; } public function __invoke(){ echo $this->name." still weighed ".$this->weight." units and died."; } } $petitRat = new Chanelle(); $petitRat();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nSbtr
function name:  (null)
number of ops:  6
compiled vars:  !0 = $petitRat
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   NEW                                              $1      'Chanelle'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   22     3        INIT_DYNAMIC_CALL                                        !0
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class Chanelle:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nSbtr
function name:  __construct
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ECHO                                                     'Le+propri%C3%A9taire+de+Chanelle+est+Dorianne%0A'
    9     1      > RETURN                                                   null

End of function __construct

Function __invoke:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nSbtr
function name:  __invoke
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   FETCH_OBJ_R                                      ~0      'name'
          1        CONCAT                                           ~1      ~0, '+still+weighed+'
          2        FETCH_OBJ_R                                      ~2      'weight'
          3        CONCAT                                           ~3      ~1, ~2
          4        CONCAT                                           ~4      ~3, '+units+and+died.'
          5        ECHO                                                     ~4
   13     6      > RETURN                                                   null

End of function __invoke

End of class Chanelle.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.25 ms | 1394 KiB | 13 Q