3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = array( "1...1", "2...2", "10...10", "(1.).(.1)", "1. . .1", "5.32..7", "3..(5.67)", "3. . 5.67", "3.14 . 1.41" ); foreach($tests as $test) { printf("%-12s = ", $test); eval("echo $test;"); echo "\n"; }

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.140.0000.00816.59
8.3.130.0160.00418.38
8.3.120.0000.01019.01
8.3.110.0060.00320.94
8.3.100.0100.00020.18
8.3.90.0050.00326.77
8.3.80.0060.00319.36
8.3.70.0070.01418.30
8.3.60.0160.00316.50
8.3.50.0060.01617.37
8.3.40.0040.01118.43
8.3.30.0070.00718.54
8.3.20.0140.00421.71
8.3.10.0040.00421.77
8.3.00.0060.00319.38
8.2.250.0150.00416.45
8.2.240.0040.00417.16
8.2.230.0160.00322.58
8.2.220.0130.00724.06
8.2.210.0030.00526.77
8.2.200.0030.00618.88
8.2.190.0100.01018.01
8.2.180.0170.00318.18
8.2.170.0040.01118.88
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0000.00821.00
8.2.110.0060.00319.27
8.2.100.0040.00817.72
8.2.90.0040.00419.23
8.2.80.0060.00317.97
8.2.70.0050.00317.50
8.2.60.0030.00617.80
8.2.50.0030.00618.07
8.2.40.0030.00518.09
8.2.30.0000.00817.99
8.2.20.0040.00418.05
8.2.10.0000.00718.05
8.2.00.0020.00517.98
8.1.300.0060.00318.27
8.1.290.0080.00430.84
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0100.00022.50
8.1.230.0040.00820.82
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0100.00017.35
8.1.190.0080.00017.53
8.1.180.0050.00318.10
8.1.170.0080.00018.58
8.1.160.0050.00218.88
8.1.150.0000.00818.86
8.1.140.0040.00419.57
8.1.130.0080.00017.49
8.1.120.0050.00217.45
8.1.110.0040.00417.48
8.1.100.0030.00517.31
8.1.90.0000.00817.46
8.1.80.0050.00217.46
8.1.70.0070.00017.50
8.1.60.0040.00417.52
8.1.50.0040.00417.56
8.1.40.0050.00217.54
8.1.30.0080.00017.59
8.1.20.0000.00817.59
8.1.10.0040.00417.55
8.1.00.0060.00317.39
8.0.300.0050.00318.77
8.0.290.0030.00617.05
8.0.280.0030.00318.46
8.0.270.0000.00717.17
8.0.260.0040.00416.88
8.0.250.0030.00316.85
8.0.240.0030.00516.92
8.0.230.0040.00416.96
8.0.220.0070.00016.91
8.0.210.0080.00016.79
8.0.200.0040.00416.92
8.0.190.0060.00316.91
8.0.180.0040.00416.95
8.0.170.0000.00816.97
8.0.160.0040.00416.84
8.0.150.0000.00716.79
8.0.140.0000.00716.88
8.0.130.0030.00313.32
8.0.120.0040.00416.74
8.0.110.0040.00416.94
8.0.100.0040.00416.74
8.0.90.0050.00216.91
8.0.80.0100.01016.80
8.0.70.0040.00416.91
8.0.60.0050.00216.94
8.0.50.0000.00716.92
8.0.30.0130.00617.02
8.0.20.0110.00917.40
8.0.10.0070.00017.03
8.0.00.0080.00816.75
7.4.330.0050.00015.55
7.4.320.0000.00716.63
7.4.300.0000.00616.59
7.4.290.0040.00416.49
7.4.280.0040.00416.41
7.4.270.0040.00416.48
7.4.260.0040.00416.60
7.4.250.0070.00016.57
7.4.240.0030.00316.55
7.4.230.0000.00716.38
7.4.220.0130.01016.54
7.4.210.0110.00716.49
7.4.200.0040.00416.32
7.4.160.0070.01016.44
7.4.150.0070.01117.40
7.4.140.0120.01017.86
7.4.130.0130.00916.47
7.4.120.0100.01016.39
7.4.110.0130.00616.61
7.4.100.0050.01316.37
7.4.90.0070.01116.40
7.4.80.0080.00819.39
7.4.70.0060.01416.36
7.4.60.0090.00616.45
7.4.50.0110.00716.55
7.4.40.0000.01716.41
7.4.30.0080.00916.46
7.4.00.0090.00614.87
7.3.330.0050.00013.19
7.3.320.0000.00613.17
7.3.310.0050.00316.29
7.3.300.0070.00016.22
7.3.290.0040.00416.34
7.3.280.0050.01016.31
7.3.270.0100.01117.40
7.3.260.0090.01116.45
7.3.250.0120.01016.46
7.3.240.0090.01116.46
7.3.230.0180.01616.53
7.3.210.0110.00616.64
7.3.200.0200.00016.36
7.3.190.0060.01316.50
7.3.180.0180.00316.43
7.3.170.0190.00016.31
7.3.160.0100.00716.26
7.3.10.0110.00416.34
7.3.00.0000.01516.36
7.2.330.0070.01116.69
7.2.320.0080.00816.67
7.2.310.0160.00016.63
7.2.300.0080.00916.61
7.2.290.0130.00316.41
7.2.130.0070.00716.93
7.2.120.0100.00716.95
7.2.110.0000.01816.79
7.2.100.0080.00316.73
7.2.90.0030.01216.92
7.2.80.0030.01016.91
7.2.70.0060.00616.87
7.2.60.0090.00716.77
7.2.50.0120.00316.69
7.2.40.0120.00016.76
7.2.30.0030.01016.99
7.2.20.0040.00716.95
7.2.10.0120.00316.80
7.2.00.0090.00616.68
7.1.250.0030.01115.89
7.1.200.0100.00015.57
7.1.70.0040.00417.17
7.1.60.0100.00317.29
7.1.50.0300.01032.86
7.1.40.0800.00732.51
7.1.30.0630.01032.46
7.1.20.0300.01332.69
7.1.10.0400.01314.68
7.1.00.0430.01314.70
7.0.200.0040.00416.89
7.0.190.0700.01314.72
7.0.180.0000.01714.30
7.0.170.0400.01314.46
7.0.160.0370.01014.51
7.0.150.0400.01014.36
7.0.140.0470.01314.39
7.0.130.0230.00714.70
7.0.120.0030.01314.63
7.0.110.0370.01014.32
7.0.100.0430.00714.35
7.0.90.0370.01714.39
7.0.80.0570.00314.48
7.0.70.0400.01314.56
7.0.60.0330.01714.00
7.0.50.0400.00714.40
7.0.40.0370.00314.63
7.0.30.1100.01014.64
7.0.20.0370.00714.54
7.0.10.0370.00714.57
7.0.00.0230.01714.49
5.6.300.0130.06320.70
5.6.290.0130.06020.61
5.6.280.0100.06020.64
5.6.270.0130.08020.67
5.6.260.0130.07720.87
5.6.250.0200.05720.67
5.6.240.0200.07320.71
5.6.230.0100.06320.85
5.6.220.0130.06020.83
5.6.210.0100.09320.63
5.6.200.0170.05320.67
5.6.190.0070.06020.65
5.6.180.0230.05020.67
5.6.170.0170.05320.78
5.6.160.0200.05320.63
5.6.150.0100.07720.65
5.6.140.0170.06320.89
5.6.130.0200.06720.75
5.6.120.0170.06320.64
5.6.110.0030.08020.84
5.6.100.0230.06020.61
5.6.90.0000.08320.80
5.6.80.0170.06320.16
5.6.70.0100.08020.25
5.6.60.0100.08020.11
5.6.50.0200.07020.16
5.6.40.0300.06020.23
5.6.30.0200.06720.01
5.6.20.0130.07320.27
5.6.10.0070.07719.95
5.6.00.0100.07320.17
5.5.380.0070.07317.31
5.5.370.0130.05017.45
5.5.360.0200.06317.32
5.5.350.0170.05317.26
5.5.340.0000.06017.88
5.5.330.0130.05017.60
5.5.320.0100.05317.66
5.5.310.0030.06317.86
5.5.300.0200.05317.80
5.5.290.0200.05717.82
5.5.280.0130.07317.89
5.5.270.0130.06717.85
5.5.260.0100.06717.89
5.5.250.0100.07317.61
5.5.240.0100.08316.98
5.5.230.0100.08017.14
5.5.220.0100.06317.23
5.5.210.0200.07017.15
5.5.200.0270.05317.25
5.5.190.0070.07717.21
5.5.180.0170.05716.93
5.5.160.0100.06717.16
5.5.150.0230.04717.23
5.5.140.0170.06317.43
5.5.130.0000.07317.25
5.5.120.0070.06017.43
5.5.110.0030.08017.15
5.5.100.0070.08717.11
5.5.90.0100.08017.14
5.5.80.0100.07316.92
5.5.70.0070.08717.23
5.5.60.0130.07717.14
5.5.50.0100.07316.86
5.5.40.0070.06017.10
5.5.30.0130.07717.00
5.5.20.0270.06716.80
5.5.10.0130.08017.13
5.5.00.0100.06316.90
5.4.450.0130.06319.08
5.4.440.0230.06019.21
5.4.430.0100.07019.05
5.4.420.0170.06019.27
5.4.410.0130.05319.22
5.4.400.0230.06719.03
5.4.390.0200.05718.85
5.4.380.0070.07719.03
5.4.370.0130.07018.80
5.4.360.0100.07718.87
5.4.350.0200.06318.84
5.4.340.0070.07718.71
5.4.320.0030.08318.89
5.4.310.0200.05718.94
5.4.300.0170.06718.78
5.4.290.0130.06018.71
5.4.280.0030.06318.74
5.4.270.0130.07018.68
5.4.260.0170.07318.73
5.4.250.0170.04718.64
5.4.240.0170.07018.89
5.4.230.0100.08018.86
5.4.220.0170.08018.83
5.4.210.0170.04718.89
5.4.200.0200.07018.93
5.4.190.0200.07019.01
5.4.180.0070.07018.88
5.4.170.0100.06018.70
5.4.160.0030.06718.63
5.4.150.0170.06318.73
5.4.140.0300.05316.27
5.4.130.0070.05716.48
5.4.120.0100.05716.24
5.4.110.0130.04316.36
5.4.100.0130.05016.48
5.4.90.0030.05716.28
5.4.80.0130.05716.48
5.4.70.0100.06716.41
5.4.60.0070.06716.49
5.4.50.0170.05316.39
5.4.40.0030.05316.39
5.4.30.0130.04716.42
5.4.20.0070.05316.20
5.4.10.0130.06016.40
5.4.00.0130.06715.93
5.3.290.0130.07014.53
5.3.280.0200.06714.46
5.3.270.0070.06314.48
5.3.260.0130.05714.63
5.3.250.0130.05314.70
5.3.240.0230.04714.66
5.3.230.0170.06714.30
5.3.220.0170.04714.63
5.3.210.0200.05014.43
5.3.200.0070.05314.57
5.3.190.0130.06714.59
5.3.180.0200.07014.58
5.3.170.0230.06314.66
5.3.160.0070.06314.59
5.3.150.0030.05714.62
5.3.140.0030.06314.58
5.3.130.0100.05714.57
5.3.120.0170.06714.57
5.3.110.0200.06714.56
5.3.100.0170.04714.05
5.3.90.0170.05713.72
5.3.80.0170.05314.06
5.3.70.0130.07714.04
5.3.60.0200.05713.86
5.3.50.0030.05713.96
5.3.40.0100.05313.65
5.3.30.0170.06013.93
5.3.20.0100.06313.59
5.3.10.0170.04013.67
5.3.00.0070.07313.66
5.2.170.0170.05010.98
5.2.160.0030.04311.17
5.2.150.0030.06011.26
5.2.140.0130.03711.06
5.2.130.0070.05311.13
5.2.120.0070.04711.01
5.2.110.0070.04011.22
5.2.100.0030.04011.11
5.2.90.0030.04010.95
5.2.80.0030.04311.02
5.2.70.0100.03710.86
5.2.60.0070.04010.82
5.2.50.0100.03710.96
5.2.40.0070.04011.00
5.2.30.0130.04010.91
5.2.20.0070.04710.73
5.2.10.0070.04010.77
5.2.00.0070.04010.73
5.1.60.0030.03310.19
5.1.50.0070.03710.00
5.1.40.0070.03310.01
5.1.30.0170.02710.30
5.1.20.0170.02710.30
5.1.10.0030.03710.04
5.1.00.0100.03710.05
5.0.50.0070.0308.61
5.0.40.0030.0278.32
5.0.30.0000.0438.22
5.0.20.0070.0238.24
5.0.10.0000.0438.17
5.0.00.0030.0538.13
4.4.90.0070.0177.84
4.4.80.0070.0177.84
4.4.70.0070.0237.84
4.4.60.0030.0277.84
4.4.50.0070.0207.84
4.4.40.0070.0337.84
4.4.30.0000.0307.84
4.4.20.0000.0237.84
4.4.10.0000.0307.84
4.4.00.0170.0207.84
4.3.110.0000.0277.84
4.3.100.0030.0237.84
4.3.90.0030.0307.84
4.3.80.0000.0337.84
4.3.70.0000.0237.84
4.3.60.0000.0277.84
4.3.50.0030.0207.84
4.3.40.0070.0277.84
4.3.30.0000.0237.84
4.3.20.0030.0207.84
4.3.10.0030.0207.84
4.3.00.0000.0277.84

preferences:
50.8 ms | 403 KiB | 5 Q