3v4l.org

run code in 300+ PHP versions simultaneously
<?php function imprimeNome(&$nome) { $nome = "meu nome é ". $nome . " "; echo $nome; } $nome = "fran"; imprimeNome($nome); echo($nome);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fUvGk
function name:  (null)
number of ops:  6
compiled vars:  !0 = $nome
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                   !0, 'fran'
    9     1        INIT_FCALL                                               'imprimenome'
          2        SEND_REF                                                 !0
          3        DO_FCALL                                      0          
   10     4        ECHO                                                     !0
          5      > RETURN                                                   1

Function imprimenome:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fUvGk
function name:  imprimeNome
number of ops:  6
compiled vars:  !0 = $nome
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        CONCAT                                           ~1      'meu+nome+%C3%A9+', !0
          2        CONCAT                                           ~2      ~1, '+'
          3        ASSIGN                                                   !0, ~2
    5     4        ECHO                                                     !0
    6     5      > RETURN                                                   null

End of function imprimenome

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.33 ms | 1397 KiB | 14 Q