3v4l.org

run code in 300+ PHP versions simultaneously
<?php // use symfony/yaml // use guzzle/guzzle //declare(strict_types=1); function logmsg(string $msg, int $level, float $severity) { var_dump($msg); // string(1) "1" var_dump($level); // int(2) var_dump($severity); // float(3) } logmsg("1", 1, 3.2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U2Xi9
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'logmsg'
          1        SEND_VAL                                                 '1'
          2        SEND_VAL                                                 1
          3        SEND_VAL                                                 3.2
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function logmsg:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U2Xi9
function name:  logmsg
number of ops:  13
compiled vars:  !0 = $msg, !1 = $level, !2 = $severity
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    8     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    9     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
   10     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
   11    12      > RETURN                                                   null

End of function logmsg

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.25 ms | 1397 KiB | 16 Q