3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start( 'clean' ); function html( $echo = true ){ echo 'Texto que no serĂ¡ mostrado.'; $buffer = ob_get_clean( ); if ( $echo ) echo $buffer; else return $buffer; } private function clean( $buffer ) { return str_replace('mostrado', 'ARATAT', $buffer); } html('Texto que no serĂ¡ mostrado.dddddddddddddd');
Output for 5.4.0 - 5.4.5
Parse error: syntax error, unexpected 'private' (T_PRIVATE) in /in/RlvAv on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.15
Parse error: syntax error, unexpected T_PRIVATE in /in/RlvAv on line 8
Process exited with code 255.