3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = (string)(string)(string)(string)(string)(string) 'a'; $b = 'b';
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/WQ88k
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   CAST                                          6  ~2      'a'
         1        CAST                                          6  ~3      ~2
         2        CAST                                          6  ~4      ~3
         3        CAST                                          6  ~5      ~4
         4        CAST                                          6  ~6      ~5
         5        CAST                                          6  ~7      ~6
         6        ASSIGN                                                   !0, ~7
   4     7        ASSIGN                                                   !1, 'b'
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0