3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; echo str_replace('a', 'b', 'abc');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iL7Wn
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_NS_FCALL_BY_NAME                                    'foo%5Cstr_replace'
          1        SEND_VAL_EX                                              'a'
          2        SEND_VAL_EX                                              'b'
          3        SEND_VAL_EX                                              'abc'
          4        DO_FCALL                                      0  $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.73 ms | 1393 KiB | 15 Q