3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $description_data = 'i am some text to check; $size_check = strlen($description_data); /* if ($size_check < 565) { return '<span class="read-more" id="togglr">Read More</span>'; } */ echo $size_check;
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected 'class' (T_CLASS) in /in/oNRB1 on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CLASS in /in/oNRB1 on line 7
Process exited with code 255.