3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( (int) 25.7, (int) 25.4, (int) round(25.7), (int) round(25.4), );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8lXKD
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        CAST                                          4  ~0      25.7
          2        SEND_VAL                                                 ~0
    5     3        CAST                                          4  ~1      25.4
          4        SEND_VAL                                                 ~1
    6     5        INIT_FCALL                                               'round'
          6        SEND_VAL                                                 25.7
          7        DO_ICALL                                         $2      
          8        CAST                                          4  ~3      $2
          9        SEND_VAL                                                 ~3
    7    10        INIT_FCALL                                               'round'
         11        SEND_VAL                                                 25.4
         12        DO_ICALL                                         $4      
         13        CAST                                          4  ~5      $4
         14        SEND_VAL                                                 ~5
    3    15        DO_ICALL                                                 
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
259.28 ms | 1010 KiB | 15 Q