3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i=0; $i<100;$i++) { printf("The num is %d", $i); }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
The num is 0The num is 1The num is 2The num is 3The num is 4The num is 5The num is 6The num is 7The num is 8The num is 9The num is 10The num is 11The num is 12The num is 13The num is 14The num is 15The num is 16The num is 17The num is 18The num is 19The num is 20The num is 21The num is 22The num is 23The num is 24The num is 25The num is 26The num is 27The num is 28The num is 29The num is 30The num is 31The num is 32The num is 33The num is 34The num is 35The num is 36The num is 37The num is 38The num is 39The num is 40The num is 41The num is 42The num is 43The num is 44The num is 45The num is 46The num is 47The num is 48The num is 49The num is 50The num is 51The num is 52The num is 53The num is 54The num is 55The num is 56The num is 57The num is 58The num is 59The num is 60The num is 61The num is 62The num is 63The num is 64The num is 65The num is 66The num is 67The num is 68The num is 69The num is 70The num is 71The num is 72The num is 73The num is 74The num is 75The num is 76The num is 77The num is 78The num is 79The num is 80The num is 81The num is 82The num is 83The num is 84The num is 85The num is 86The num is 87The num is 88The num is 89The num is 90The num is 91The num is 92The num is 93The num is 94The num is 95The num is 96The num is 97The num is 98The num is 99