3v4l.org

run code in 300+ PHP versions simultaneously
<?php $some_string = 'This is a test string. Let\'s see when it messes up...'; for ($i = 0; $i < 99; $i++) { echo $some_string . "\n"; $some_string .= 'a'; } echo 'done';

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.60.0140.00418.43
8.3.50.0100.00318.02
8.3.40.0120.00318.82
8.3.30.0120.00418.85
8.3.20.0050.00321.79
8.3.10.0000.00821.87
8.3.00.0050.00323.70
8.2.180.0110.00716.63
8.2.170.0140.00722.96
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0060.00320.84
8.2.120.0040.00426.35
8.2.110.0000.01020.99
8.2.100.0000.01217.72
8.2.90.0000.00719.22
8.2.80.0030.00717.97
8.2.70.0050.00517.93
8.2.60.0040.00418.34
8.2.50.0050.00318.10
8.2.40.0040.00419.48
8.2.30.0040.00419.37
8.2.20.0040.00418.07
8.2.10.0070.00017.96
8.2.00.0040.00419.30
8.1.280.0140.00725.92
8.1.270.0040.00422.23
8.1.260.0080.00026.35
8.1.250.0050.00528.09
8.1.240.0000.00923.92
8.1.230.0000.01120.89
8.1.220.0000.00817.74
8.1.210.0080.00018.87
8.1.200.0040.00417.23
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0030.00618.49
8.1.160.0000.00818.88
8.1.150.0060.00319.02
8.1.140.0000.00717.55
8.1.130.0030.00518.97
8.1.120.0080.00017.27
8.1.110.0080.00017.40
8.1.100.0000.00717.34
8.1.90.0040.00417.34
8.1.80.0000.00817.38
8.1.70.0070.00017.28
8.1.60.0060.00317.54
8.1.50.0000.00717.43
8.1.40.0040.00417.40
8.1.30.0000.00817.54
8.1.20.0040.00417.51
8.1.10.0030.00617.40
8.1.00.0000.00817.43
8.0.300.0070.00019.98
8.0.290.0030.00516.63
8.0.280.0070.00018.44
8.0.270.0040.00417.29
8.0.260.0040.00417.25
8.0.250.0070.00016.89
8.0.240.0020.00516.89
8.0.230.0000.00716.85
8.0.220.0070.00016.93
8.0.210.0050.00216.89
8.0.200.0030.00316.98
8.0.190.0000.00816.98
8.0.180.0050.00316.90
8.0.170.0040.00416.89
8.0.160.0000.00716.88
8.0.150.0080.00016.93
8.0.140.0030.00316.75
8.0.130.0000.00613.32
8.0.120.0060.00316.76
8.0.110.0000.00716.90
8.0.100.0000.00716.73
8.0.90.0000.00816.90
8.0.80.0120.00316.88
8.0.70.0040.00316.78
8.0.60.0030.00616.70
8.0.50.0020.00516.84
8.0.30.0120.00716.94
8.0.20.0100.01017.40
8.0.10.0040.00416.89
8.0.00.0080.01016.91
7.4.330.0000.00615.55
7.4.320.0040.00416.34
7.4.300.0030.00316.36
7.4.290.0000.00716.43
7.4.280.0040.00416.54
7.4.270.0030.00716.51
7.4.260.0000.00716.51
7.4.250.0070.00016.43
7.4.240.0000.00716.46
7.4.230.0000.00716.37
7.4.220.0000.00816.37
7.4.210.0060.00816.57
7.4.200.0000.00716.32
7.4.160.0080.01016.49
7.4.140.0110.01017.86
7.4.130.0080.00816.54
7.4.120.0120.00716.50
7.4.110.0120.00616.45
7.4.100.0110.00716.31
7.4.90.0140.00716.30
7.4.80.0060.01319.39
7.4.70.0130.00316.59
7.4.60.0070.01016.55
7.4.50.0120.00016.47
7.4.40.0110.00616.14
7.4.10.0090.00914.89
7.4.00.0100.00714.97
7.3.330.0060.00013.16
7.3.320.0030.00313.10
7.3.310.0070.00016.26
7.3.300.0070.00016.26
7.3.290.0000.00716.15
7.3.280.0080.00816.26
7.3.260.0090.00916.56
7.3.240.0090.00916.38
7.3.230.0120.00616.42
7.3.210.0120.00416.38
7.3.200.0090.01316.55
7.3.190.0070.01016.37
7.3.180.0060.01216.30
7.3.170.0090.01516.48
7.3.160.0080.00816.64
7.3.130.0060.01215.07
7.3.120.0040.01514.96
7.3.110.0070.01314.83
7.3.100.0060.00614.82
7.3.90.0060.00915.13
7.3.80.0040.00714.77
7.3.70.0040.00814.96
7.3.60.0100.00614.66
7.3.50.0040.00414.77
7.3.40.0040.01114.87
7.3.30.0060.01014.90
7.3.20.0090.00616.42
7.3.10.0070.00616.69
7.3.00.0030.01016.60
7.2.330.0110.00616.56
7.2.320.0070.01316.75
7.2.310.0120.00616.31
7.2.300.0120.00816.70
7.2.290.0130.01116.59
7.2.260.0060.01015.17
7.2.250.0030.01414.95
7.2.240.0060.00915.11
7.2.230.0040.00715.01
7.2.220.0090.00615.28
7.2.210.0120.00315.26
7.2.200.0080.00415.06
7.2.190.0040.01215.08
7.2.180.0060.00815.27
7.2.170.0090.00014.67
7.2.160.0070.00715.05
7.2.150.0070.01316.84
7.2.140.0060.01316.83
7.2.130.0030.00716.92
7.2.120.0040.01416.87
7.2.110.0040.00816.66
7.2.100.0080.00416.93
7.2.90.0050.01016.83
7.2.80.0070.00716.98
7.2.70.0090.00316.66
7.2.60.0010.01216.88
7.2.50.0070.00716.87
7.2.40.0270.00717.31
7.2.30.0240.00917.20
7.2.20.0250.00817.11
7.2.10.0300.01017.25
7.2.00.0410.00717.21
7.1.330.0060.01215.88
7.1.320.0070.01015.48
7.1.310.0030.01415.68
7.1.300.0100.00315.75
7.1.290.0060.00615.73
7.1.280.0030.01415.71
7.1.270.0000.01415.39
7.1.260.0080.00615.54
7.1.250.0040.00815.72
7.1.240.0070.01015.55
7.1.230.0000.01515.81
7.1.220.0100.00315.41
7.1.210.0070.00715.37
7.1.200.0070.00715.76
7.1.190.0000.01215.54
7.1.180.0070.00315.82
7.1.170.0040.01215.63
7.1.160.0490.00716.14
7.1.150.0350.00616.26
7.1.140.0500.00816.30
7.1.130.0630.00716.28
7.1.120.0460.01016.31
7.1.110.0580.00715.88
7.1.100.0620.00715.83
7.1.90.0710.00615.93
7.1.80.0530.00815.79
7.1.70.0560.00815.19
7.1.60.0830.00624.43
7.1.50.1030.00724.24
7.1.40.0860.00924.00
7.1.30.1080.00724.18
7.1.20.1170.01124.03
7.1.10.0550.00915.33
7.1.00.0540.00415.04
7.0.330.0060.00615.47
7.0.320.0060.00615.42
7.0.310.0030.00715.44
7.0.300.0070.00315.51
7.0.290.0000.00915.51
7.0.280.0040.01115.20
7.0.270.0000.01215.48
7.0.260.0050.00515.35
7.0.250.0000.01515.34
7.0.240.0030.00915.41
7.0.230.0000.01015.50
7.0.220.0050.00515.40
7.0.210.0080.00015.32
7.0.200.0040.00415.13
7.0.190.0060.00615.26
7.0.180.0090.00615.48
7.0.170.0040.00715.20
7.0.160.0040.01115.49
7.0.150.0140.00015.36
7.0.140.0050.00315.43
7.0.130.0070.00715.36
7.0.120.0060.00615.36
7.0.110.0090.00915.29
7.0.100.0090.00615.37
7.0.90.0080.00315.55
7.0.80.0070.00715.55
7.0.70.0000.01715.40
7.0.60.0060.00715.32
7.0.50.0000.00815.32
7.0.40.0130.00013.38
7.0.30.0060.00613.57
7.0.20.0070.00713.59
7.0.10.0070.00713.35
7.0.00.0070.00713.52
5.6.400.0090.00414.04
5.6.390.0090.00614.42
5.6.380.0090.00614.54
5.6.370.0080.00814.33
5.6.360.0000.01014.19
5.6.350.0070.00714.42
5.6.340.0030.00614.43
5.6.330.0030.01014.43
5.6.320.0030.00614.31
5.6.310.0060.00914.76
5.6.300.0000.00814.37
5.6.290.0030.00514.45
5.6.280.0070.01014.70
5.6.270.0090.00614.23
5.6.260.0000.01414.41
5.6.250.0070.01014.45
5.6.240.0080.00414.45
5.6.230.0060.00614.45
5.6.220.0030.00914.29
5.6.210.0030.01014.58
5.6.200.0080.00414.19
5.6.190.0000.01114.16
5.6.180.0030.00614.45
5.6.170.0000.01514.20
5.6.160.0030.00914.27
5.6.150.0070.00714.12
5.6.140.0060.00914.69
5.6.130.0070.00714.20
5.6.120.0060.00914.31
5.6.110.0110.00414.46
5.6.100.0030.01014.16
5.6.90.0090.00614.29
5.6.80.0000.01414.43
5.6.70.0050.00514.06
5.6.60.0100.00314.18
5.6.50.0000.01314.33
5.6.40.0070.00714.16
5.6.30.0050.00514.14
5.6.20.0100.00314.24
5.6.10.0030.00714.04
5.6.00.0130.00014.37

preferences:
65.18 ms | 400 KiB | 5 Q