3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Lorem ipsum"; $a = strval($str); $b = (string)$str; $c = "$str";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KjD0U
function name:  (null)
number of ops:  8
compiled vars:  !0 = $str, !1 = $a, !2 = $b, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Lorem+ipsum'
    5     1        CAST                                          6  ~5      !0
          2        ASSIGN                                                   !1, ~5
    6     3        CAST                                          6  ~7      !0
          4        ASSIGN                                                   !2, ~7
    7     5        CAST                                          6  ~9      !0
          6        ASSIGN                                                   !3, ~9
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.9 ms | 1392 KiB | 13 Q