3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $SurferReviewed = ''; $number_of_reviews = 4; if ($SurferReviewed=='' && $number_of_reviews=='0') { $Write_a_Review="Be the first to write a review"; } elseif ($SurferReviewed=='') { $WriteReview="Write a review"; } else { $Write_a_Review="You've already reviewed the item"; } echo $Write_a_Review;
Output for 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: Write_a_Review in /in/jq8E9 on line 20
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: Write_a_Review in /in/jq8E9 on line 20