3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Sample variables $slcustom29 = 0; $grade = 'A'; $showOrHideText = 'show'; if($slcustom29 == 0) { $show = 1; } else { $show = 0; } $gradeNote = "<a href=\"http://example.com/index.php?g=$grade;&amp;s=$show\">Click here to $showOrHideText the suggested sequence of lessons.</a>"; echo $gradeNote;
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.33, 8.2.0 - 8.2.29, 8.3.0 - 8.3.25, 8.4.1 - 8.4.12
<a href="http://example.com/index.php?g=A;&amp;s=1">Click here to show the suggested sequence of lessons.</a>

preferences:
133.44 ms | 408 KiB | 5 Q