3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.68 ms | 1394 KiB | 17 Q