3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); var_dump( floor(3), gettype(floor(3)), floor(log(1000, 10)), gettype(floor(log(1000, 10))) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KVCol
function name:  (null)
number of ops:  29
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'floor'
          2        SEND_VAL                                                 3
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
    5     5        INIT_FCALL                                               'floor'
          6        SEND_VAL                                                 3
          7        DO_ICALL                                         $1      
          8        GET_TYPE                                         ~2      $1
          9        SEND_VAL                                                 ~2
    6    10        INIT_FCALL                                               'floor'
         11        INIT_FCALL                                               'log'
         12        SEND_VAL                                                 1000
         13        SEND_VAL                                                 10
         14        DO_ICALL                                         $3      
         15        SEND_VAR                                                 $3
         16        DO_ICALL                                         $4      
         17        SEND_VAR                                                 $4
    7    18        INIT_FCALL                                               'floor'
         19        INIT_FCALL                                               'log'
         20        SEND_VAL                                                 1000
         21        SEND_VAL                                                 10
         22        DO_ICALL                                         $5      
         23        SEND_VAR                                                 $5
         24        DO_ICALL                                         $6      
         25        GET_TYPE                                         ~7      $6
         26        SEND_VAL                                                 ~7
         27        DO_ICALL                                                 
    8    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.57 ms | 1400 KiB | 19 Q