3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // set row property // set start / end line $start_row_num = 2; $end_row_num = 1000; $row_num_array = range($start_row_num, $end_row_num); // set column property // set start / end column $start_column_num = 1; $end_column_num = 3; $column_num_array = range($start_column_num, $end_column_num); foreach ($row_num_array as $row_num) { echo "row_num: " . $row_num; echo "\n"; } ?>
based on svcIl
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
row_num: 2 row_num: 3 row_num: 4 row_num: 5 row_num: 6 row_num: 7 row_num: 8 row_num: 9 row_num: 10 row_num: 11 row_num: 12 row_num: 13 row_num: 14 row_num: 15 row_num: 16 row_num: 17 row_num: 18 row_num: 19 row_num: 20 row_num: 21 row_num: 22 row_num: 23 row_num: 24 row_num: 25 row_num: 26 row_num: 27 row_num: 28 row_num: 29 row_num: 30 row_num: 31 row_num: 32 row_num: 33 row_num: 34 row_num: 35 row_num: 36 row_num: 37 row_num: 38 row_num: 39 row_num: 40 row_num: 41 row_num: 42 row_num: 43 row_num: 44 row_num: 45 row_num: 46 row_num: 47 row_num: 48 row_num: 49 row_num: 50 row_num: 51 row_num: 52 row_num: 53 row_num: 54 row_num: 55 row_num: 56 row_num: 57 row_num: 58 row_num: 59 row_num: 60 row_num: 61 row_num: 62 row_num: 63 row_num: 64 row_num: 65 row_num: 66 row_num: 67 row_num: 68 row_num: 69 row_num: 70 row_num: 71 row_num: 72 row_num: 73 row_num: 74 row_num: 75 row_num: 76 row_num: 77 row_num: 78 row_num: 79 row_num: 80 row_num: 81 row_num: 82 row_num: 83 row_num: 84 row_num: 85 row_num: 86 row_num: 87 row_num: 88 row_num: 89 row_num: 90 row_num: 91 row_num: 92 row_num: 93 row_num: 94 row_num: 95 row_num: 96 row_num: 97 row_num: 98 row_num: 99 row_num: 100 row_num: 101 row_num: 102 row_num: 103 row_num: 104 row_num: 105 row_num: 106 row_num: 107 row_num: 108 row_num: 109 row_num: 110 row_num: 111 row_num: 112 row_num: 113 row_num: 114 row_num: 115 row_num: 116 row_num: 117 row_num: 118 row_num: 119 row_num: 120 row_num: 121 row_num: 122 row_num: 123 row_num: 124 row_num: 125 row_num: 126 row_num: 127 row_num: 128 row_num: 129 row_num: 130 row_num: 131 row_num: 132 row_num: 133 row_num: 134 row_num: 135 row_num: 136 row_num: 137 row_num: 138 row_num: 139 row_num: 140 row_num: 141 row_num: 142 row_num: 143 row_num: 144 row_num: 145 row_num: 146 row_num: 147 row_num: 148 row_num: 149 row_num: 150 row_num: 151 row_num: 152 row_num: 153 row_num: 154 row_num: 155 row_num: 156 row_num: 157 row_num: 158 row_num: 159 row_num: 160 row_num: 161 row_num: 162 row_num: 163 row_num: 164 row_num: 165 row_num: 166 row_num: 167 row_num: 168 row_num: 169 row_num: 170 row_num: 171 row_num: 172 row_num: 173 row_num: 174 row_num: 175 row_num: 176 row_num: 177 row_num: 178 row_num: 179 row_num: 180 row_num: 181 row_num: 182 row_num: 183 row_num: 184 row_num: 185 row_num: 186 row_num: 187 row_num: 188 row_num: 189 row_num: 190 row_num: 191 row_num: 192 row_num: 193 row_num: 194 row_num: 195 row_num: 196 row_num: 197 row_num: 198 row_num: 199 row_num: 200 row_num: 201 row_num: 202 row_num: 203 row_num: 204 row_num: 205 row_num: 206 row_num: 207 row_num: 208 row_num: 209 row_num: 210 row_num: 211 row_num: 212 row_num: 213 row_num: 214 row_num: 215 row_num: 216 row_num: 217 row_num: 218 row_num: 219 row_num: 220 row_num: 221 row_num: 222 row_num: 223 row_num: 224 row_num: 225 row_num: 226 row_num: 227 row_num: 228 row_num: 229 row_num: 230 row_num: 231 row_num: 232 row_num: 233 row_num: 234 row_num: 235 row_num: 236 row_num: 237 row_num: 238 row_num: 239 row_num: 240 row_num: 241 row_num: 242 row_num: 243 row_num: 244 row_num: 245 row_num: 246 row_num: 247 row_num: 248 row_num: 249 row_num: 250 row_num: 251 row_num: 252 row_num: 253 row_num: 254 row_num: 255 row_num: 256 row_num: 257 row_num: 258 row_num: 259 row_num: 260 row_num: 261 row_num: 262 row_num: 263 row_num: 264 row_num: 265 row_num: 266 row_num: 267 row_num: 268 row_num: 269 row_num: 270 row_num: 271 row_num: 272 row_num: 273 row_num: 274 row_num: 275 row_num: 276 row_num: 277 row_num: 278 row_num: 279 row_num: 280 row_num: 281 row_num: 282 row_num: 283 row_num: 284 row_num: 285 row_num: 286 row_num: 287 row_num: 288 row_num: 289 row_num: 290 row_num: 291 row_num: 292 row_num: 293 row_num: 294 row_num: 295 row_num: 296 row_num: 297 row_num: 298 row_num: 299 row_num: 300 row_num: 301 row_num: 302 row_num: 303 row_num: 304 row_num: 305 row_num: 306 row_num: 307 row_num: 308 row_num: 309 row_num: 310 row_num: 311 row_num: 312 row_num: 313 row_num: 314 row_num: 315 row_num: 316 row_num: 317 row_num: 318 row_num: 319 row_num: 320 row_num: 321 row_num: 322 row_num: 323 row_num: 324 row_num: 325 row_num: 326 row_num: 327 row_num: 328 row_num: 329 row_num: 330 row_num: 331 row_num: 332 row_num: 333 row_num: 334 row_num: 335 row_num: 336 row_num: 337 row_num: 338 row_num: 339 row_num: 340 row_num: 341 row_num: 342 row_num: 343 row_num: 344 row_num: 345 row_num: 346 row_num: 347 row_num: 348 row_num: 349 row_num: 350 row_num: 351 row_num: 352 row_num: 353 row_num: 354 row_num: 355 row_num: 356 row_num: 357 row_num: 358 row_num: 359 row_num: 360 row_num: 361 row_num: 362 row_num: 363 row_num: 364 row_num: 365 row_num: 366 row_num: 367 row_num: 368 row_num: 369 row_num: 370 row_num: 371 row_num: 372 row_num: 373 row_num: 374 row_num: 375 row_num: 376 row_num: 377 row_num: 378 row_num: 379 row_num: 380 row_num: 381 row_num: 382 row_num: 383 row_num: 384 row_num: 385 row_num: 386 row_num: 387 row_num: 388 row_num: 389 row_num: 390 row_num: 391 row_num: 392 row_num: 393 row_num: 394 row_num: 395 row_num: 396 row_num: 397 row_num: 398 row_num: 399 row_num: 400 row_num: 401 row_num: 402 row_num: 403 row_num: 404 row_num: 405 row_num: 406 row_num: 407 row_num: 408 row_num: 409 row_num: 410 row_num: 411 row_num: 412 row_num: 413 row_num: 414 row_num: 415 row_num: 416 row_num: 417 row_num: 418 row_num: 419 row_num: 420 row_num: 421 row_num: 422 row_num: 423 row_num: 424 row_num: 425 row_num: 426 row_num: 427 row_num: 428 row_num: 429 row_num: 430 row_num: 431 row_num: 432 row_num: 433 row_num: 434 row_num: 435 row_num: 436 row_num: 437 row_num: 438 row_num: 439 row_num: 440 row_num: 441 row_num: 442 row_num: 443 row_num: 444 row_num: 445 row_num: 446 row_num: 447 row_num: 448 row_num: 449 row_num: 450 row_num: 451 row_num: 452 row_num: 453 row_num: 454 row_num: 455 row_num: 456 row_num: 457 row_num: 458 row_num: 459 row_num: 460 row_num: 461 row_num: 462 row_num: 463 row_num: 464 row_num: 465 row_num: 466 row_num: 467 row_num: 468 row_num: 469 row_num: 470 row_num: 471 row_num: 472 row_num: 473 row_num: 474 row_num: 475 row_num: 476 row_num: 477 row_num: 478 row_num: 479 row_num: 480 row_num: 481 row_num: 482 row_num: 483 row_num: 484 row_num: 485 row_num: 486 row_num: 487 row_num: 488 row_num: 489 row_num: 490 row_num: 491 row_num: 492 row_num: 493 row_num: 494 row_num: 495 row_num: 496 row_num: 497 row_num: 498 row_num: 499 row_num: 500 row_num: 501 row_num: 502 row_num: 503 row_num: 504 row_num: 505 row_num: 506 row_num: 507 row_num: 508 row_num: 509 row_num: 510 row_num: 511 row_num: 512 row_num: 513 row_num: 514 row_num: 515 row_num: 516 row_num: 517 row_num: 518 row_num: 519 row_num: 520 row_num: 521 row_num: 522 row_num: 523 row_num: 524 row_num: 525 row_num: 526 row_num: 527 row_num: 528 row_num: 529 row_num: 530 row_num: 531 row_num: 532 row_num: 533 row_num: 534 row_num: 535 row_num: 536 row_num: 537 row_num: 538 row_num: 539 row_num: 540 row_num: 541 row_num: 542 row_num: 543 row_num: 544 row_num: 545 row_num: 546 row_num: 547 row_num: 548 row_num: 549 row_num: 550 row_num: 551 row_num: 552 row_num: 553 row_num: 554 row_num: 555 row_num: 556 row_num: 557 row_num: 558 row_num: 559 row_num: 560 row_num: 561 row_num: 562 row_num: 563 row_num: 564 row_num: 565 row_num: 566 row_num: 567 row_num: 568 row_num: 569 row_num: 570 row_num: 571 row_num: 572 row_num: 573 row_num: 574 row_num: 575 row_num: 576 row_num: 577 row_num: 578 row_num: 579 row_num: 580 row_num: 581 row_num: 582 row_num: 583 row_num: 584 row_num: 585 row_num: 586 row_num: 587 row_num: 588 row_num: 589 row_num: 590 row_num: 591 row_num: 592 row_num: 593 row_num: 594 row_num: 595 row_num: 596 row_num: 597 row_num: 598 row_num: 599 row_num: 600 row_num: 601 row_num: 602 row_num: 603 row_num: 604 row_num: 605 row_num: 606 row_num: 607 row_num: 608 row_num: 609 row_num: 610 row_num: 611 row_num: 612 row_num: 613 row_num: 614 row_num: 615 row_num: 616 row_num: 617 row_num: 618 row_num: 619 row_num: 620 row_num: 621 row_num: 622 row_num: 623 row_num: 624 row_num: 625 row_num: 626 row_num: 627 row_num: 628 row_num: 629 row_num: 630 row_num: 631 row_num: 632 row_num: 633 row_num: 634 row_num: 635 row_num: 636 row_num: 637 row_num: 638 row_num: 639 row_num: 640 row_num: 641 row_num: 642 row_num: 643 row_num: 644 row_num: 645 row_num: 646 row_num: 647 row_num: 648 row_num: 649 row_num: 650 row_num: 651 row_num: 652 row_num: 653 row_num: 654 row_num: 655 row_num: 656 row_num: 657 row_num: 658 row_num: 659 row_num: 660 row_num: 661 row_num: 662 row_num: 663 row_num: 664 row_num: 665 row_num: 666 row_num: 667 row_num: 668 row_num: 669 row_num: 670 row_num: 671 row_num: 672 row_num: 673 row_num: 674 row_num: 675 row_num: 676 row_num: 677 row_num: 678 row_num: 679 row_num: 680 row_num: 681 row_num: 682 row_num: 683 row_num: 684 row_num: 685 row_num: 686 row_num: 687 row_num: 688 row_num: 689 row_num: 690 row_num: 691 row_num: 692 row_num: 693 row_num: 694 row_num: 695 row_num: 696 row_num: 697 row_num: 698 row_num: 699 row_num: 700 row_num: 701 row_num: 702 row_num: 703 row_num: 704 row_num: 705 row_num: 706 row_num: 707 row_num: 708 row_num: 709 row_num: 710 row_num: 711 row_num: 712 row_num: 713 row_num: 714 row_num: 715 row_num: 716 row_num: 717 row_num: 718 row_num: 719 row_num: 720 row_num: 721 row_num: 722 row_num: 723 row_num: 724 row_num: 725 row_num: 726 row_num: 727 row_num: 728 row_num: 729 row_num: 730 row_num: 731 row_num: 732 row_num: 733 row_num: 734 row_num: 735 row_num: 736 row_num: 737 row_num: 738 row_num: 739 row_num: 740 row_num: 741 row_num: 742 row_num: 743 row_num: 744 row_num: 745 row_num: 746 row_num: 747 row_num: 748 row_num: 749 row_num: 750 row_num: 751 row_num: 752 row_num: 753 row_num: 754 row_num: 755 row_num: 756 row_num: 757 row_num: 758 row_num: 759 row_num: 760 row_num: 761 row_num: 762 row_num: 763 row_num: 764 row_num: 765 row_num: 766 row_num: 767 row_num: 768 row_num: 769 row_num: 770 row_num: 771 row_num: 772 row_num: 773 row_num: 774 row_num: 775 row_num: 776 row_num: 777 row_num: 778 row_num: 779 row_num: 780 row_num: 781 row_num: 782 row_num: 783 row_num: 784 row_num: 785 row_num: 786 row_num: 787 row_num: 788 row_num: 789 row_num: 790 row_num: 791 row_num: 792 row_num: 793 row_num: 794 row_num: 795 row_num: 796 row_num: 797 row_num: 798 row_num: 799 row_num: 800 row_num: 801 row_num: 802 row_num: 803 row_num: 804 row_num: 805 row_num: 806 row_num: 807 row_num: 808 row_num: 809 row_num: 810 row_num: 811 row_num: 812 row_num: 813 row_num: 814 row_num: 815 row_num: 816 row_num: 817 row_num: 818 row_num: 819 row_num: 820 row_num: 821 row_num: 822 row_num: 823 row_num: 824 row_num: 825 row_num: 826 row_num: 827 row_num: 828 row_num: 829 row_num: 830 row_num: 831 row_num: 832 row_num: 833 row_num: 834 row_num: 835 row_num: 836 row_num: 837 row_num: 838 row_num: 839 row_num: 840 row_num: 841 row_num: 842 row_num: 843 row_num: 844 row_num: 845 row_num: 846 row_num: 847 row_num: 848 row_num: 849 row_num: 850 row_num: 851 row_num: 852 row_num: 853 row_num: 854 row_num: 855 row_num: 856 row_num: 857 row_num: 858 row_num: 859 row_num: 860 row_num: 861 row_num: 862 row_num: 863 row_num: 864 row_num: 865 row_num: 866 row_num: 867 row_num: 868 row_num: 869 row_num: 870 row_num: 871 row_num: 872 row_num: 873 row_num: 874 row_num: 875 row_num: 876 row_num: 877 row_num: 878 row_num: 879 row_num: 880 row_num: 881 row_num: 882 row_num: 883 row_num: 884 row_num: 885 row_num: 886 row_num: 887 row_num: 888 row_num: 889 row_num: 890 row_num: 891 row_num: 892 row_num: 893 row_num: 894 row_num: 895 row_num: 896 row_num: 897 row_num: 898 row_num: 899 row_num: 900 row_num: 901 row_num: 902 row_num: 903 row_num: 904 row_num: 905 row_num: 906 row_num: 907 row_num: 908 row_num: 909 row_num: 910 row_num: 911 row_num: 912 row_num: 913 row_num: 914 row_num: 915 row_num: 916 row_num: 917 row_num: 918 row_num: 919 row_num: 920 row_num: 921 row_num: 922 row_num: 923 row_num: 924 row_num: 925 row_num: 926 row_num: 927 row_num: 928 row_num: 929 row_num: 930 row_num: 931 row_num: 932 row_num: 933 row_num: 934 row_num: 935 row_num: 936 row_num: 937 row_num: 938 row_num: 939 row_num: 940 row_num: 941 row_num: 942 row_num: 943 row_num: 944 row_num: 945 row_num: 946 row_num: 947 row_num: 948 row_num: 949 row_num: 950 row_num: 951 row_num: 952 row_num: 953 row_num: 954 row_num: 955 row_num: 956 row_num: 957 row_num: 958 row_num: 959 row_num: 960 row_num: 961 row_num: 962 row_num: 963 row_num: 964 row_num: 965 row_num: 966 row_num: 967 row_num: 968 row_num: 969 row_num: 970 row_num: 971 row_num: 972 row_num: 973 row_num: 974 row_num: 975 row_num: 976 row_num: 977 row_num: 978 row_num: 979 row_num: 980 row_num: 981 row_num: 982 row_num: 983 row_num: 984 row_num: 985 row_num: 986 row_num: 987 row_num: 988 row_num: 989 row_num: 990 row_num: 991 row_num: 992 row_num: 993 row_num: 994 row_num: 995 row_num: 996 row_num: 997 row_num: 998 row_num: 999 row_num: 1000