3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Pont { private float $longueur; private float $largeur; public function __construct(float $longueur, float $largeur) { $this->longueur = $longueur; $this->largeur = $largeur; } } $towerBridge = new Pont(286.0, 62.0);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ddSrl
function name:  (null)
number of ops:  6
compiled vars:  !0 = $towerBridge
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   NEW                                              $1      'Pont'
          1        SEND_VAL_EX                                              286
          2        SEND_VAL_EX                                              62
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
          5      > RETURN                                                   1

Class Pont:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ddSrl
function name:  __construct
number of ops:  7
compiled vars:  !0 = $longueur, !1 = $largeur
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   10     2        ASSIGN_OBJ                                               'longueur'
          3        OP_DATA                                                  !0
   11     4        ASSIGN_OBJ                                               'largeur'
          5        OP_DATA                                                  !1
   12     6      > RETURN                                                   null

End of function __construct

End of class Pont.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
130.5 ms | 1441 KiB | 13 Q