3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo strtolower('ABC').PHP_EOL; function b($a) { print "b: $a\n"; } use function b as strtolower; echo strtolower('ABC').PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BM9C8
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'strtolower'
          1        SEND_VAL                                                     'ABC'
          2        DO_ICALL                                             $0      
          3        CONCAT                                               ~1      $0, '%0A'
          4        ECHO                                                         ~1
   11     5        INIT_FCALL                                                   'b'
          6        SEND_VAL                                                     'ABC'
          7        DO_FCALL                                          0  $2      
          8        CONCAT                                               ~3      $2, '%0A'
          9        ECHO                                                         ~3
   12    10      > RETURN                                                       1

Function b:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BM9C8
function name:  b
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   RECV                                                 !0      
    6     1        ROPE_INIT                                         3  ~2      'b%3A+'
          2        ROPE_ADD                                          1  ~2      ~2, !0
          3        ROPE_END                                          2  ~1      ~2, '%0A'
          4        ECHO                                                         ~1
    7     5      > RETURN                                                       null

End of function b

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
184.56 ms | 3353 KiB | 15 Q