3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str='TABLE cancer ATTRIBUTES 4 Attribute1.1 numeric O Attribute1.2 numeric O Attribute1.3 numeric 0 Attribute1.4 numeric 0 OBJECTS 6 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24'; $line = ' Attribute1.2 numeric O '; preg_match_all('/[\w\d\.]+/', $line, $line); $line=implode(' ', $line[0]); var_dump(' ', $line); exit; foreach (preg_split("/\\r\\n|\\r|\\n/", $str) as $line) { preg_match_all('/[\w\d\.]+/', $line, $result); var_dump(implode(' ', $result[0])); }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.40.0060.00918.92
8.3.30.0070.00718.82
8.3.20.0050.00320.16
8.3.10.0070.00021.90
8.3.00.0040.00419.63
8.2.170.0110.00422.96
8.2.160.0110.00720.49
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00422.30
8.2.120.0160.00326.35
8.2.110.0060.00319.30
8.2.100.0120.00017.97
8.2.90.0050.00317.88
8.2.80.0000.00818.86
8.2.70.0000.00817.63
8.2.60.0030.00617.75
8.2.50.0000.00917.88
8.2.40.0040.00417.88
8.2.30.0000.00719.29
8.2.20.0040.00417.98
8.2.10.0000.00818.04
8.2.00.0030.00718.40
8.1.270.0040.00420.32
8.1.260.0050.00226.35
8.1.250.0060.00328.09
8.1.240.0140.00320.94
8.1.230.0000.01120.97
8.1.220.0040.00418.77
8.1.210.0030.00518.77
8.1.200.0000.00817.47
8.1.190.0050.00317.53
8.1.180.0000.00818.10
8.1.170.0060.00318.55
8.1.160.0040.00418.83
8.1.150.0000.00718.80
8.1.140.0040.00417.64
8.1.130.0000.00718.92
8.1.120.0040.00417.50
8.1.110.0110.00017.61
8.1.100.0020.00517.45
8.1.90.0030.00517.50
8.1.80.0000.00817.63
8.1.70.0070.00017.62
8.1.60.0060.00317.68
8.1.50.0030.00517.69
8.1.40.0040.00417.57
8.1.30.0030.01017.72
8.1.20.0080.00017.79
8.1.10.0000.00917.81
8.1.00.0030.00617.67
8.0.300.0020.00518.77
8.0.290.0050.00217.00
8.0.280.0070.00018.27
8.0.270.0030.00317.15
8.0.260.0000.00616.99
8.0.250.0070.00017.11
8.0.240.0070.00017.13
8.0.230.0030.00317.16
8.0.220.0030.00617.01
8.0.210.0030.00416.92
8.0.200.0000.00617.12
8.0.190.0030.00617.09
8.0.180.0000.00717.07
8.0.170.0060.00317.09
8.0.160.0050.00217.02
8.0.150.0040.00416.99
8.0.140.0000.00817.02
8.0.130.0030.00313.48
8.0.120.0070.00017.02
8.0.110.0060.00317.02
8.0.100.0040.00416.91
8.0.90.0000.00716.95
8.0.80.0080.00817.05
8.0.70.0080.00017.04
8.0.60.0040.00417.16
8.0.50.0080.00017.04
8.0.30.0120.00817.38
8.0.20.0100.01017.41
8.0.10.0000.00817.06
8.0.00.0070.01317.11
7.4.330.0030.00315.55
7.4.320.0000.00616.77
7.4.300.0030.00316.77
7.4.290.0040.00416.61
7.4.280.0040.00416.70
7.4.270.0000.00916.62
7.4.260.0040.00416.77
7.4.250.0060.00316.63
7.4.240.0070.00016.66
7.4.230.0000.00716.87
7.4.220.0030.00516.67
7.4.210.0120.00916.79
7.4.200.0070.00016.62
7.4.160.0090.00816.71
7.4.150.0150.00717.40
7.4.140.0110.00917.86
7.4.130.0040.01316.79
7.4.120.0150.00616.60
7.4.110.0120.00616.55
7.4.100.0090.00916.76
7.4.90.0180.00016.72
7.4.80.0090.00919.39
7.4.70.0140.00516.58
7.4.60.0100.00716.83
7.4.50.0080.00616.66
7.4.40.0110.00516.57
7.4.00.0100.00715.20
7.3.330.0000.00513.27
7.3.320.0000.00613.27
7.3.310.0030.00316.45
7.3.300.0070.00016.43
7.3.290.0100.00516.42
7.3.280.0060.01516.41
7.3.270.0070.01517.40
7.3.260.0070.01216.45
7.3.250.0080.01016.57
7.3.240.0070.01316.58
7.3.230.0110.00616.57
7.3.210.0060.00916.60
7.3.200.0100.00716.57
7.3.190.0100.01016.46
7.3.180.0110.00516.36
7.3.170.0080.00816.40
7.3.160.0140.00316.50
7.3.10.0090.00616.96
7.3.00.0070.00416.92
7.2.330.0070.01016.61
7.2.320.0170.00316.70
7.2.310.0130.00916.72
7.2.300.0080.00916.65
7.2.290.0060.01616.84
7.2.130.0030.00916.84
7.2.120.0030.00916.97
7.2.110.0070.00716.84
7.2.100.0060.00317.01
7.2.90.0030.00916.87
7.2.80.0070.00717.10
7.2.70.0040.00817.06
7.2.60.0010.01416.92
7.2.50.0070.00316.90
7.2.40.0100.00316.96
7.2.30.0080.00817.03
7.2.20.0030.00917.01
7.2.10.0220.01017.44
7.2.00.0230.00517.50
7.1.250.0090.00316.05
7.1.200.0040.01115.84
7.1.130.0270.00916.64
7.1.120.0250.01616.78
7.1.110.0380.00616.39
7.1.100.0430.00616.30
7.1.90.0360.00716.10
7.1.80.0370.01016.30
7.1.70.0440.00315.41
7.1.60.0530.00733.53
7.1.50.0530.01133.10
7.1.40.0490.01332.79
7.1.30.0520.01032.84
7.1.20.0930.01933.21
7.1.10.0330.01214.84
7.1.00.0080.00815.25

preferences:
67.23 ms | 400 KiB | 5 Q