3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.18 ms | 1392 KiB | 13 Q