3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0.34; $b = $a * 100; $c = intVal($b); echo $a."\n"; echo $b."\n"; echo $c."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LPKD3
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0.34
    4     1        MUL                                              ~4      !0, 100
          2        ASSIGN                                                   !1, ~4
    5     3        CAST                                          4  ~6      !1
          4        ASSIGN                                                   !2, ~6
    6     5        CONCAT                                           ~8      !0, '%0A'
          6        ECHO                                                     ~8
    7     7        CONCAT                                           ~9      !1, '%0A'
          8        ECHO                                                     ~9
    8     9        CONCAT                                           ~10     !2, '%0A'
         10        ECHO                                                     ~10
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.24 ms | 1393 KiB | 13 Q