3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "post_processed_string"; $b = array("post_", "_"); $c = array("", " "); $d = ucwords(str_replace($b,$c,$a)); print $d; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iacT0
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'post_processed_string'
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    5     3        INIT_FCALL                                               'ucwords'
          4        INIT_FCALL                                               'str_replace'
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $7      
          9        SEND_VAR                                                 $7
         10        DO_ICALL                                         $8      
         11        ASSIGN                                                   !3, $8
    6    12        ECHO                                                     !3
    7    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.9 ms | 1394 KiB | 17 Q