3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
251.1 ms | 1008 KiB | 14 Q