3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 1; $i <= 100; $i++) { $output = null; if ($i % 3 === 0) $output = 'Zif'; if ($i % 5 === 0) $output .= 'Zub'; if (!$output) $output = $i; echo $output . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
1 2 Zif 4 Zub Zif 7 8 Zif Zub 11 Zif 13 14 ZifZub 16 17 Zif 19 Zub Zif 22 23 Zif Zub 26 Zif 28 29 ZifZub 31 32 Zif 34 Zub Zif 37 38 Zif Zub 41 Zif 43 44 ZifZub 46 47 Zif 49 Zub Zif 52 53 Zif Zub 56 Zif 58 59 ZifZub 61 62 Zif 64 Zub Zif 67 68 Zif Zub 71 Zif 73 74 ZifZub 76 77 Zif 79 Zub Zif 82 83 Zif Zub 86 Zif 88 89 ZifZub 91 92 Zif 94 Zub Zif 97 98 Zif Zub

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:
59.71 ms | 402 KiB | 8 Q