3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'This is a test'; $compressed1 = gzencode('This is a test'); $compressed = gzdecode($compressed1); echo '<br>'; for ($i=0; $i<strlen($compressed); $i++) { echo '['.$i.'] = '.ord($compressed[$i]).'<br>'; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
This is a test<br>[0] = 84<br>[1] = 104<br>[2] = 105<br>[3] = 115<br>[4] = 32<br>[5] = 105<br>[6] = 115<br>[7] = 32<br>[8] = 97<br>[9] = 32<br>[10] = 116<br>[11] = 101<br>[12] = 115<br>[13] = 116<br>

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