3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.04 ms | 1394 KiB | 15 Q