3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.6 ms | 1392 KiB | 13 Q