3v4l.org

run code in 300+ PHP versions simultaneously
<?php $capitals = array("A","B"); $word_break = "helloAliceBob"; echo $word_break = str_replace($capitals, '/',$word_break);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JcIUb
function name:  (null)
number of ops:  10
compiled vars:  !0 = $capitals, !1 = $word_break
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 'helloAliceBob'
    5     2        INIT_FCALL                                               'str_replace'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 '%2F'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        ASSIGN                                           ~5      !1, $4
          8        ECHO                                                     ~5
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.49 ms | 1398 KiB | 15 Q