3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.15 ms | 1394 KiB | 15 Q