3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.06 ms | 1481 KiB | 14 Q