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") . "\n"; }
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
0 => N 1 => N 2 => N 3 => N 4 => N 5 => N 6 => N 7 => N 8 => N 9 => N 10 => N 11 => N 12 => N 13 => N 14 => N 15 => N 16 => N 17 => N 18 => N 19 => N 20 => N 21 => N 22 => N 23 => N 24 => N 25 => N 26 => N 27 => N 28 => N 29 => N 30 => N 31 => N 32 => N 33 => N 34 => N 35 => N 36 => N 37 => N 38 => N 39 => N 40 => N 41 => N 42 => N 43 => N 44 => N 45 => N 46 => N 47 => N 48 => Y 49 => Y 50 => Y 51 => Y 52 => Y 53 => Y 54 => Y 55 => Y 56 => Y 57 => Y 58 => N 59 => N 60 => N 61 => N 62 => N 63 => N 64 => N 65 => N 66 => N 67 => N 68 => N 69 => N 70 => N 71 => N 72 => N 73 => N 74 => N 75 => N 76 => N 77 => N 78 => N 79 => N 80 => N 81 => N 82 => N 83 => N 84 => N 85 => N 86 => N 87 => N 88 => N 89 => N 90 => N 91 => N 92 => N 93 => N 94 => N 95 => N 96 => N 97 => N 98 => N 99 => N 100 => N 101 => N 102 => N 103 => N 104 => N 105 => N 106 => N 107 => N 108 => N 109 => N 110 => N 111 => N 112 => N 113 => N 114 => N 115 => N 116 => N 117 => N 118 => N 119 => N 120 => N 121 => N 122 => N 123 => N 124 => N 125 => N 126 => N 127 => N 128 => N 129 => N 130 => N 131 => N 132 => N 133 => N 134 => N 135 => N 136 => N 137 => N 138 => N 139 => N 140 => N 141 => N 142 => N 143 => N 144 => N 145 => N 146 => N 147 => N 148 => N 149 => N 150 => N 151 => N 152 => N 153 => N 154 => N 155 => N 156 => N 157 => N 158 => N 159 => N 160 => N 161 => N 162 => N 163 => N 164 => N 165 => N 166 => N 167 => N 168 => N 169 => N 170 => N 171 => N 172 => N 173 => N 174 => N 175 => N 176 => N 177 => N 178 => N 179 => N 180 => N 181 => N 182 => N 183 => N 184 => N 185 => N 186 => N 187 => N 188 => N 189 => N 190 => N 191 => N 192 => N 193 => N 194 => N 195 => N 196 => N 197 => N 198 => N 199 => N 200 => N 201 => N 202 => N 203 => N 204 => N 205 => N 206 => N 207 => N 208 => N 209 => N 210 => N 211 => N 212 => N 213 => N 214 => N 215 => N 216 => N 217 => N 218 => N 219 => N 220 => N 221 => N 222 => N 223 => N 224 => N 225 => N 226 => N 227 => N 228 => N 229 => N 230 => N 231 => N 232 => N 233 => N 234 => N 235 => N 236 => N 237 => N 238 => N 239 => N 240 => N 241 => N 242 => N 243 => N 244 => N 245 => N 246 => N 247 => N 248 => N 249 => N 250 => N 251 => N 252 => N 253 => N 254 => N 255 => N 256 => Y 257 => Y 258 => Y 259 => Y 260 => Y 261 => Y 262 => Y 263 => Y 264 => Y 265 => Y 266 => Y 267 => Y 268 => Y 269 => Y 270 => Y 271 => Y 272 => Y 273 => Y 274 => Y 275 => Y 276 => Y 277 => Y 278 => Y 279 => Y 280 => Y 281 => Y 282 => Y 283 => Y 284 => Y 285 => Y 286 => Y 287 => Y 288 => Y 289 => Y 290 => Y 291 => Y 292 => Y 293 => Y 294 => Y 295 => Y 296 => Y 297 => Y 298 => Y 299 => Y 300 => Y 301 => Y 302 => Y 303 => Y 304 => Y 305 => Y 306 => Y 307 => Y 308 => Y 309 => Y 310 => Y 311 => Y 312 => Y 313 => Y 314 => Y 315 => Y 316 => Y 317 => Y 318 => Y 319 => Y 320 => Y 321 => Y 322 => Y 323 => Y 324 => Y 325 => Y 326 => Y 327 => Y 328 => Y 329 => Y 330 => Y 331 => Y 332 => Y 333 => Y 334 => Y 335 => Y 336 => Y 337 => Y 338 => Y 339 => Y 340 => Y 341 => Y 342 => Y 343 => Y 344 => Y 345 => Y 346 => Y 347 => Y 348 => Y 349 => Y 350 => Y 351 => Y 352 => Y 353 => Y 354 => Y 355 => Y 356 => Y 357 => Y 358 => Y 359 => Y 360 => Y 361 => Y 362 => Y 363 => Y 364 => Y 365 => Y 366 => Y 367 => Y 368 => Y 369 => Y 370 => Y 371 => Y 372 => Y 373 => Y 374 => Y 375 => Y 376 => Y 377 => Y 378 => Y 379 => Y 380 => Y 381 => Y 382 => Y 383 => Y 384 => Y 385 => Y 386 => Y 387 => Y 388 => Y 389 => Y 390 => Y 391 => Y 392 => Y 393 => Y 394 => Y 395 => Y 396 => Y 397 => Y 398 => Y 399 => Y 400 => Y 401 => Y 402 => Y 403 => Y 404 => Y 405 => Y 406 => Y 407 => Y 408 => Y 409 => Y 410 => Y 411 => Y 412 => Y 413 => Y 414 => Y 415 => Y 416 => Y 417 => Y 418 => Y 419 => Y 420 => Y 421 => Y 422 => Y 423 => Y 424 => Y 425 => Y 426 => Y 427 => Y 428 => Y 429 => Y 430 => Y 431 => Y 432 => Y 433 => Y 434 => Y 435 => Y 436 => Y 437 => Y 438 => Y 439 => Y 440 => Y 441 => Y 442 => Y 443 => Y 444 => Y 445 => Y 446 => Y 447 => Y 448 => Y 449 => Y 450 => Y 451 => Y 452 => Y 453 => Y 454 => Y 455 => Y 456 => Y 457 => Y 458 => Y 459 => Y 460 => Y 461 => Y 462 => Y 463 => Y 464 => Y 465 => Y 466 => Y 467 => Y 468 => Y 469 => Y 470 => Y 471 => Y 472 => Y 473 => Y 474 => Y 475 => Y 476 => Y 477 => Y 478 => Y 479 => Y 480 => Y 481 => Y 482 => Y 483 => Y 484 => Y 485 => Y 486 => Y 487 => Y 488 => Y 489 => Y 490 => Y 491 => Y 492 => Y 493 => Y 494 => Y 495 => Y 496 => Y 497 => Y 498 => Y 499 => Y