3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 5; function a($x){ echo $x; } a();
based on X6YjH
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/EsaYj
function name:  (null)
number of ops:  5
compiled vars:  !0 = $x
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   ASSIGN                                                   !0, 5
   5     1        NOP                                                      
   9     2        INIT_FCALL                                               'a'
         3        DO_FCALL                                      0          
         4      > RETURN                                                   1

Function a:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/EsaYj
function name:  a
number of ops:  3
compiled vars:  !0 = $x
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   5     0  E >   RECV                                             !0      
   6     1        ECHO                                                     !0
   7     2      > RETURN                                                   null

End of function a

Generated using Vulcan Logic Dumper, using php 7.3.0