3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 500; $i++) { echo "$i => " . (ctype_digit($i) ? "Y" : "N"); }
Output for 5.3.0 - 7.1.0
0 => N1 => N2 => N3 => N4 => N5 => N6 => N7 => N8 => N9 => N10 => N11 => N12 => N13 => N14 => N15 => N16 => N17 => N18 => N19 => N20 => N21 => N22 => N23 => N24 => N25 => N26 => N27 => N28 => N29 => N30 => N31 => N32 => N33 => N34 => N35 => N36 => N37 => N38 => N39 => N40 => N41 => N42 => N43 => N44 => N45 => N46 => N47 => N48 => Y49 => Y50 => Y51 => Y52 => Y53 => Y54 => Y55 => Y56 => Y57 => Y58 => N59 => N60 => N61 => N62 => N63 => N64 => N65 => N66 => N67 => N68 => N69 => N70 => N71 => N72 => N73 => N74 => N75 => N76 => N77 => N78 => N79 => N80 => N81 => N82 => N83 => N84 => N85 => N86 => N87 => N88 => N89 => N90 => N91 => N92 => N93 => N94 => N95 => N96 => N97 => N98 => N99 => N100 => N101 => N102 => N103 => N104 => N105 => N106 => N107 => N108 => N109 => N110 => N111 => N112 => N113 => N114 => N115 => N116 => N117 => N118 => N119 => N120 => N121 => N122 => N123 => N124 => N125 => N126 => N127 => N128 => N129 => N130 => N131 => N132 => N133 => N134 => N135 => N136 => N137 => N138 => N139 => N140 => N141 => N142 => N143 => N144 => N145 => N146 => N147 => N148 => N149 => N150 => N151 => N152 => N153 => N154 => N155 => N156 => N157 => N158 => N159 => N160 => N161 => N162 => N163 => N164 => N165 => N166 => N167 => N168 => N169 => N170 => N171 => N172 => N173 => N174 => N175 => N176 => N177 => N178 => N179 => N180 => N181 => N182 => N183 => N184 => N185 => N186 => N187 => N188 => N189 => N190 => N191 => N192 => N193 => N194 => N195 => N196 => N197 => N198 => N199 => N200 => N201 => N202 => N203 => N204 => N205 => N206 => N207 => N208 => N209 => N210 => N211 => N212 => N213 => N214 => N215 => N216 => N217 => N218 => N219 => N220 => N221 => N222 => N223 => N224 => N225 => N226 => N227 => N228 => N229 => N230 => N231 => N232 => N233 => N234 => N235 => N236 => N237 => N238 => N239 => N240 => N241 => N242 => N243 => N244 => N245 => N246 => N247 => N248 => N249 => N250 => N251 => N252 => N253 => N254 => N255 => N256 => Y257 => Y258 => Y259 => Y260 => Y261 => Y262 => Y263 => Y264 => Y265 => Y266 => Y267 => Y268 => Y269 => Y270 => Y271 => Y272 => Y273 => Y274 => Y275 => Y276 => Y277 => Y278 => Y279 => Y280 => Y281 => Y282 => Y283 => Y284 => Y285 => Y286 => Y287 => Y288 => Y289 => Y290 => Y291 => Y292 => Y293 => Y294 => Y295 => Y296 => Y297 => Y298 => Y299 => Y300 => Y301 => Y302 => Y303 => Y304 => Y305 => Y306 => Y307 => Y308 => Y309 => Y310 => Y311 => Y312 => Y313 => Y314 => Y315 => Y316 => Y317 => Y318 => Y319 => Y320 => Y321 => Y322 => Y323 => Y324 => Y325 => Y326 => Y327 => Y328 => Y329 => Y330 => Y331 => Y332 => Y333 => Y334 => Y335 => Y336 => Y337 => Y338 => Y339 => Y340 => Y341 => Y342 => Y343 => Y344 => Y345 => Y346 => Y347 => Y348 => Y349 => Y350 => Y351 => Y352 => Y353 => Y354 => Y355 => Y356 => Y357 => Y358 => Y359 => Y360 => Y361 => Y362 => Y363 => Y364 => Y365 => Y366 => Y367 => Y368 => Y369 => Y370 => Y371 => Y372 => Y373 => Y374 => Y375 => Y376 => Y377 => Y378 => Y379 => Y380 => Y381 => Y382 => Y383 => Y384 => Y385 => Y386 => Y387 => Y388 => Y389 => Y390 => Y391 => Y392 => Y393 => Y394 => Y395 => Y396 => Y397 => Y398 => Y399 => Y400 => Y401 => Y402 => Y403 => Y404 => Y405 => Y406 => Y407 => Y408 => Y409 => Y410 => Y411 => Y412 => Y413 => Y414 => Y415 => Y416 => Y417 => Y418 => Y419 => Y420 => Y421 => Y422 => Y423 => Y424 => Y425 => Y426 => Y427 => Y428 => Y429 => Y430 => Y431 => Y432 => Y433 => Y434 => Y435 => Y436 => Y437 => Y438 => Y439 => Y440 => Y441 => Y442 => Y443 => Y444 => Y445 => Y446 => Y447 => Y448 => Y449 => Y450 => Y451 => Y452 => Y453 => Y454 => Y455 => Y456 => Y457 => Y458 => Y459 => Y460 => Y461 => Y462 => Y463 => Y464 => Y465 => Y466 => Y467 => Y468 => Y469 => Y470 => Y471 => Y472 => Y473 => Y474 => Y475 => Y476 => Y477 => Y478 => Y479 => Y480 => Y481 => Y482 => Y483 => Y484 => Y485 => Y486 => Y487 => Y488 => Y489 => Y490 => Y491 => Y492 => Y493 => Y494 => Y495 => Y496 => Y497 => Y498 => Y499 => Y