3v4l.org

run code in 300+ PHP versions simultaneously
<?php function clean( $buffer ) { $buffer = str_replace('mostrado', 'ARATAT', $buffer); return $buffer; } ob_start( 'clean' ); function html( $echo = true ){ echo 'Texto que no serĂ¡ mostrado.'; $buffer = ob_get_clean( ); if ( $echo ) echo $buffer; else return $buffer; } html('Texto que no serĂ¡ mostrado.dddddddddddddd');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/15lW1
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'ob_start'
          1        SEND_VAL                                                 'clean'
          2        DO_ICALL                                                 
   12     3        INIT_FCALL                                               'html'
          4        SEND_VAL                                                 'Texto+que+no+ser%C3%A1+mostrado.dddddddddddddd'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function clean:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/15lW1
function name:  clean
number of ops:  9
compiled vars:  !0 = $buffer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 'mostrado'
          3        SEND_VAL                                                 'ARATAT'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6        ASSIGN                                                   !0, $1
    4     7      > RETURN                                                   !0
          8*     > RETURN                                                   null

End of function clean

Function html:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/15lW1
function name:  html
number of ops:  10
compiled vars:  !0 = $echo, !1 = $buffer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV_INIT                                        !0      <true>
    8     1        ECHO                                                     'Texto+que+no+ser%C3%A1+mostrado.'
    9     2        INIT_FCALL                                               'ob_get_clean'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !1, $2
   10     5      > JMPZ                                                     !0, ->8
          6    >   ECHO                                                     !1
          7      > JMP                                                      ->9
          8    > > RETURN                                                   !1
          9    > > RETURN                                                   null

End of function html

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.69 ms | 1390 KiB | 20 Q