3v4l.org

run code in 300+ PHP versions simultaneously
<?php $classDays = ''; if($classDays[0] == '') { $classDaysD = 'Online'; } else { if (in_array(1, $classDays)) { $classDaysD = 'M'; } if (in_array(2,$classDays)) { $classDaysD .= ' T'; } if (in_array(3,$classDays)) { $classDaysD .= ' W'; } if (in_array(4,$classDays)) { $classDaysD .= ' Th'; } if (in_array(5,$classDays)) { $classDaysD .= ' F'; } if (in_array(6,$classDays)) { $classDaysD .= ' S'; } if (in_array(7,$classDays)) { $classDaysD .= ' Su'; } if ($classDaysD == '') { $classDaysD = 'M & W'; } } echo $classDaysD;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Uninitialized string offset 0 in /in/EdD63 on line 4 Online

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
33.01 ms | 401 KiB | 8 Q