3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Input: $_GET['inicio'] = '7'; $_GET['final'] = '45'; $_GET['incremento'] = '4'; // Trata o input: $inicio = $_GET['inicio'] ?? 0; $inicio = is_numeric($inicio) ? $inicio : 0; $final = $_GET['final'] ?? 0; $final = is_numeric($final) ? $final : 0; $incremento = $_GET['incremento'] ?? 1; $incremento = is_numeric($incremento) && $incremento != 0 ? $incremento : 1; // Faz o mesmo que o `while`: echo implode(' ', range($inicio, $final, $incremento));
Output for git.master, git.master_jit, rfc.property-hooks
7 11 15 19 23 27 31 35 39 43

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:
49.24 ms | 405 KiB | 5 Q