3v4l.org

run code in 300+ PHP versions simultaneously
<?php function ConeVolume($rayon, $hauteur) { $volume = $rayon * $rayon * 3.14 * $hauteur * (1/3); return $volume; } $volume = ConeVolume(3, 5); echo 'Le volume du cone c\'est: ' . $volume; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EJ3KK
function name:  (null)
number of ops:  8
compiled vars:  !0 = $volume
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'conevolume'
          1        SEND_VAL                                                 3
          2        SEND_VAL                                                 5
          3        DO_FCALL                                      0  $1      
          4        ASSIGN                                                   !0, $1
    8     5        CONCAT                                           ~3      'Le+volume+du+cone+c%27est%3A+', !0
          6        ECHO                                                     ~3
   10     7      > RETURN                                                   1

Function conevolume:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EJ3KK
function name:  ConeVolume
number of ops:  9
compiled vars:  !0 = $rayon, !1 = $hauteur, !2 = $volume
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        MUL                                              ~3      !0, !0
          3        MUL                                              ~4      ~3, 3.14
          4        MUL                                              ~5      !1, ~4
          5        MUL                                              ~6      ~5, 0.333333
          6        ASSIGN                                                   !2, ~6
    5     7      > RETURN                                                   !2
    6     8*     > RETURN                                                   null

End of function conevolume

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.62 ms | 1397 KiB | 14 Q