3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $awstats='BEGIN_TIME 24 0 3245 9955 143463426 8047 13601 475741423 1 3122 9131 146244440 7579 12936 507921700 2 2639 5706 95369716 7351 11987 490330698 3 1917 4062 79234871 8245 13009 579453498 4 1757 4263 65580607 7887 11437 454870321 5 1723 4022 44682383 6888 10263 326819624 6 1876 4677 56964771 7339 11242 355385677 7 2796 8473 120152521 7770 12176 362904239 8 4227 13791 196173677 7421 12196 366706352 9 7984 25965 375376297 8398 13883 406545549 10 14605 34418 434054375 7183 13341 380773129 11 15533 41259 559938996 7123 12690 372426426 12 17495 40043 505139834 7432 13402 518541077 13 15815 34170 385108531 6519 12390 396494926 14 16330 41073 508838859 6761 12318 348417806 15 19093 44058 483568307 7692 13583 454365520 16 30429 59672 577852398 8273 13231 473134295 17 25094 48897 478246556 8207 12898 476038603 18 19136 42665 482073005 8087 12983 468300958 19 28849 46228 371229572 7721 12688 471632281 20 14068 30981 341103557 7832 13251 417443822 21 14727 33458 394841797 7575 12644 388811384 22 13480 31364 365096742 7460 13114 411771572 23 7189 19744 272606100 6643 12398 397762547 END_TIME'; preg_match("/BEGIN_TIME(.*)END_TIME/is", $awstats, $matches); $time = $matches[0] ; var_dump($time); // it displays "NULL"
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
string(1092) "BEGIN_TIME 24 0 3245 9955 143463426 8047 13601 475741423 1 3122 9131 146244440 7579 12936 507921700 2 2639 5706 95369716 7351 11987 490330698 3 1917 4062 79234871 8245 13009 579453498 4 1757 4263 65580607 7887 11437 454870321 5 1723 4022 44682383 6888 10263 326819624 6 1876 4677 56964771 7339 11242 355385677 7 2796 8473 120152521 7770 12176 362904239 8 4227 13791 196173677 7421 12196 366706352 9 7984 25965 375376297 8398 13883 406545549 10 14605 34418 434054375 7183 13341 380773129 11 15533 41259 559938996 7123 12690 372426426 12 17495 40043 505139834 7432 13402 518541077 13 15815 34170 385108531 6519 12390 396494926 14 16330 41073 508838859 6761 12318 348417806 15 19093 44058 483568307 7692 13583 454365520 16 30429 59672 577852398 8273 13231 473134295 17 25094 48897 478246556 8207 12898 476038603 18 19136 42665 482073005 8087 12983 468300958 19 28849 46228 371229572 7721 12688 471632281 20 14068 30981 341103557 7832 13251 417443822 21 14727 33458 394841797 7575 12644 388811384 22 13480 31364 365096742 7460 13114 411771572 23 7189 19744 272606100 6643 12398 397762547 END_TIME"
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/HVpEr on line 31
Process exited with code 255.