3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "a"; for ($i = 0; $i < 255; $i++) { echo bin2hex(++$foo) . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 75 76 77 78 79 7a 6161 6162 6163 6164 6165 6166 6167 6168 6169 616a 616b 616c 616d 616e 616f 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 617a 6261 6262 6263 6264 6265 6266 6267 6268 6269 626a 626b 626c 626d 626e 626f 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 627a 6361 6362 6363 6364 6365 6366 6367 6368 6369 636a 636b 636c 636d 636e 636f 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 637a 6461 6462 6463 6464 6465 6466 6467 6468 6469 646a 646b 646c 646d 646e 646f 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 647a 6561 6562 6563 6564 6565 6566 6567 6568 6569 656a 656b 656c 656d 656e 656f 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 657a 6661 6662 6663 6664 6665 6666 6667 6668 6669 666a 666b 666c 666d 666e 666f 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 667a 6761 6762 6763 6764 6765 6766 6767 6768 6769 676a 676b 676c 676d 676e 676f 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 677a 6861 6862 6863 6864 6865 6866 6867 6868 6869 686a 686b 686c 686d 686e 686f 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 687a 6961 6962 6963 6964 6965 6966 6967 6968 6969 696a 696b 696c 696d 696e 696f 6970 6971 6972 6973 6974 6975 6976

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:
64.42 ms | 1064 KiB | 4 Q