3v4l.org

run code in 300+ PHP versions simultaneously
<?php $SETTINGS_nighttime_start = '22:00'; $SETTINGS_nighttime_end = '07:00'; // Töötajad ning nende tööajad $EMPLOYEES = array( '0' => array( 'name' => 'Juhan Jalgratas', 'shift_start' => '15:15', 'shift_end' => '23:45' ), '1' => array( 'name' => 'Mauno Maasikas', 'shift_start' => '10:00', 'shift_end' => '22:00' ), '2' => array( 'name' => 'Kati Kuusemets', 'shift_start' => '22:30', 'shift_end' => '08:00' ), '3' => array( 'name' => 'Pille-Mati Jämispehmut', 'shift_start' => '20:00', 'shift_end' => '10:00' ), '4' => array( 'name' => 'Käsna-Kalle Kantpüks', 'shift_start' => '09:00', 'shift_end' => '17:00' ), '5' => array( 'name' => 'Aita-Leida Kuusepuu', 'shift_start' => '23:00', 'shift_end' => '06:00' ), ); foreach($EMPLOYEES as $employee){ echo "\n",$employee['name'], "\t\t", $employee['shift_start'], $employee['shift_start']; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Juhan Jalgratas 15:1515:15 Mauno Maasikas 10:0010:00 Kati Kuusemets 22:3022:30 Pille-Mati Jämispehmut 20:0020:00 Käsna-Kalle Kantpüks 09:0009:00 Aita-Leida Kuusepuu 23:0023:00

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:
43.42 ms | 401 KiB | 8 Q