3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.77 ms | 1394 KiB | 15 Q