3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Text = "#Winkelposition (Bearbeitbar). Messreihe #1 (Bearbeitet) #Zeit ( s ) Winkelposition ( rad ) 1.1400 -7.490 1.1600 -7.441 1.1800 -7.358 1.2000 -7.241 1.2200 -7.092 1.2400 -6.910 1.2600 -6.699 1.2800 -6.459 1.3000 -6.195 1.3200 -5.905 1.3400 -5.594 1.3600 -5.261 1.3800 -4.910 1.4000 -4.541 1.4200 -4.159 1.4400 -3.764 1.4600 -3.358 1.4800 -2.947 1.5000 -2.529 1.5200 -2.108 1.5400 -1.689 1.5600 -1.269 1.5800 -0.856 1.6000 -0.448 1.6200 -0.049 1.6400 0.338 1.6600 0.715 1.6800 1.076 1.7000 1.423 1.7200 1.753 1.7400 2.066 1.7600 2.361 1.7800 2.636 1.8000 2.890 1.8200 3.124 1.8400 3.336 1.8600 3.526 1.8800 3.693 1.9000 3.837 1.9200 3.957 1.9400 4.053 1.9600 4.126 1.9800 4.175 2.0000 4.203 2.0200 4.208 2.0400 4.191 2.0600 4.155 2.0800 4.097 2.1000 4.021 2.1200 3.929 2.1400 3.819 2.1600 3.691 2.1800 3.550 2.2000 3.394 2.2200 3.228 2.2400 3.047 2.2600 2.857 2.2800 2.656 2.3000 2.449 2.3200 2.234 2.3400 2.014 2.3600 1.789 2.3800 1.561 2.4000 1.332 2.4200 1.101 2.4400 0.873 2.4600 0.646 2.4800 0.423 2.5000 0.203 2.5200 -0.011 2.5400 -0.220 2.5600 -0.423 2.5800 -0.616 2.6000 -0.801 2.6200 -0.975 2.6400 -1.142 2.6600 -1.297 2.6800 -1.440 2.7000 -1.574 2.7200 -1.695 2.7400 -1.805 2.7600 -1.901 2.7800 -1.985 2.8000 -2.056 2.8200 -2.114 2.8400 -2.158 2.8600 -2.191 2.8800 -2.212 2.9000 -2.218 2.9200 -2.213 2.9400 -2.198 2.9600 -2.169 2.9800 -2.133 3.0000 -2.086 3.0200 -2.029 3.0400 -1.965 3.0600 -1.893 3.0800 -1.811 3.1000 -1.725 3.1200 -1.630 3.1400 -1.533 3.1600 -1.429 3.1800 -1.321 3.2000 -1.210 3.2200 -1.096 3.2400 -0.980 3.2600 -0.864 3.2800 -0.746 3.3000 -0.628 3.3200 -0.511 3.3400 -0.394 3.3600 -0.280 3.3800 -0.168 3.4000 -0.058 3.4200 0.049 3.4400 0.151 3.4600 0.250 3.4800 0.342 3.5000 0.432 3.5200 0.515 3.5400 0.594 3.5600 0.666 3.5800 0.732 3.6000 0.793 3.6200 0.847 3.6400 0.895 3.6600 0.936 3.6800 0.972 3.7000 1.001 3.7200 1.021 3.7400 1.037 3.7600 1.046 3.7800 1.049 3.8000 1.046 3.8200 1.038 3.8400 1.027 3.8600 1.010 3.8800 0.990 3.9000 0.964 3.9200 0.936 3.9400 0.905 3.9600 0.869 3.9800 0.831 4.0000 0.789 4.0200 0.746 4.0400 0.701 4.0600 0.653 4.0800 0.603 4.1000 0.553 4.1200 0.503 4.1400 0.451 4.1600 0.399 4.1800 0.346 4.2000 0.294 4.2200 0.242 4.2400 0.192 4.2600 0.141 4.2800 0.093 4.3000 0.046 4.3200 0.000 4.3400 -0.044 4.3600 -0.086 4.3800 -0.127 4.4000 -0.165 4.4200 -0.199 4.4400 -0.232 4.4600 -0.262 4.4800 -0.291 4.5000 -0.314 4.5200 -0.336 4.5400 -0.355 4.5600 -0.371 4.5800 -0.385 4.6000 -0.394 4.6200 -0.401 4.6400 -0.405 4.6600 -0.407 4.6800 -0.407 4.7000 -0.404 4.7200 -0.399 4.7400 -0.393 4.7600 -0.385 4.7800 -0.374 4.8000 -0.363 4.8200 -0.350 4.8400 -0.338 4.8600 -0.322 4.8800 -0.306 4.9000 -0.291 4.9200 -0.272 4.9400 -0.254 4.9600 -0.236 4.9800 -0.217 5.0000 -0.198 5.0200 -0.179 5.0400 -0.159 5.0600 -0.140 5.0800 -0.121 5.1000 -0.102 5.1200 -0.083 5.1400 -0.064 5.1600 -0.047 5.1800 -0.030 5.2000 -0.013 5.2200 0.003 5.2400 0.019 5.2600 0.033 5.2800 0.046 5.3000 0.058 5.3200 0.071 5.3400 0.080 5.3600 0.090 5.3800 0.099 5.4000 0.105 5.4200 0.112 5.4400 0.116 5.4600 0.119 5.4800 0.123 5.5000 0.124 5.5200 0.124 5.5400 0.124 5.5600 0.123 5.5800 0.121 5.6000 0.119 5.6200 0.116 5.6400 0.115 5.6600 0.112 5.6800 0.108 5.7000 0.104 5.7200 0.101 5.7400 0.097 5.7600 0.093 5.7800 0.090 5.8000 0.085 5.8200 0.082 5.8400 0.077 5.8600 0.072 5.8800 0.069 5.9000 0.066 5.9200 0.063 5.9400 0.060 5.9600 0.057 5.9800 0.055 6.0000 0.053 6.0200 0.052 6.0400 0.050"; $Lines = explode("\n", strreplace("\r\n", "\n", $Text)) $high = array(); $last = 0; foreach($Lines as $Line) { if($Lines[0] != "#") { $Line = explode("\t", $Line); if($Line[1] < $last) { $hight[] = $Line; } $last = $Line[1]; } }
Output for 5.4.0 - 5.4.35
Parse error: syntax error, unexpected '$high' (T_VARIABLE) in /in/BUhdD on line 251
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_VARIABLE in /in/BUhdD on line 251
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_VARIABLE in /in/BUhdD on line 251
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/BUhdD on line 251
Process exited with code 255.

preferences:
232.55 ms | 940 KiB | 126 Q