3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = <<<DATA 136366 135522 137256 30847 138048 174566 166072 63499 140009 135543 171856 177782 166984 137354 142945 71187 71825 70010 69576 72309 170313 134021 22948 143965 146635 74783 16934 31888 175759 148661 148673 134533 84020 151682 141256 154226 181962 87634 134815 183069 153532 189668 88238 184418 88604 159786 156133 134909 147106 155295 156134 145217 155299 147126 147127 156138 87775 87839 148426 23720 157008 157159 171795 171626 157709 89748 89782 157245 DATA; $a = explode(PHP_EOL, $data); echo implode(',', $a);
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
136366,135522,137256,30847,138048,174566,166072,63499,140009,135543,171856,177782,166984,137354,142945,71187,71825,70010,69576,72309,170313,134021,22948,143965,146635,74783,16934,31888,175759,148661,148673,134533,84020,151682,141256,154226,181962,87634,134815,183069,153532,189668,88238,184418,88604,159786,156133,134909,147106,155295,156134,145217,155299,147126,147127,156138,87775,87839,148426,23720,157008,157159,171795,171626,157709,89748,89782,157245
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/NnlVS on line 75 136366 135522 137256 30847 138048 174566 166072 63499 140009 135543 171856 177782 166984 137354 142945 71187 71825 70010 69576 72309 170313 134021 22948 143965 146635 74783 16934 31888 175759 148661 148673 134533 84020 151682 141256 154226 181962 87634 134815 183069 153532 189668 88238 184418 88604 159786 156133 134909 147106 155295 156134 145217 155299 147126 147127 156138 87775 87839 148426 23720 157008 157159 171795 171626 157709 89748 89782 157245