3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Place your code below this comment $firstName = 'Rasmus'; $lastName = 'Lerdorf'; $fullname = "$firstName $lastName"; echo "$fullname was the original creator of PHP\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.4.20.0070.01018.89
8.4.10.0040.00419.56
8.3.150.0110.00717.13
8.3.140.0100.00016.84
8.3.130.0050.00318.22
8.3.120.0100.01020.63
8.3.110.0060.00320.94
8.3.100.0130.00616.48
8.3.90.0100.01026.77
8.3.80.0060.00316.50
8.3.70.0140.00716.58
8.3.60.0070.01018.25
8.3.50.0140.00821.92
8.3.40.0070.01418.71
8.3.30.0130.00318.68
8.3.20.0080.00022.05
8.3.10.0040.00420.28
8.3.00.0000.00823.66
8.2.270.0130.00616.76
8.2.260.0050.01418.68
8.2.250.0080.00017.03
8.2.240.0000.01116.92
8.2.230.0040.00422.58
8.2.220.0090.00924.06
8.2.210.0040.00426.77
8.2.200.0060.00318.41
8.2.190.0140.00016.58
8.2.180.0030.01425.92
8.2.170.0110.00418.79
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0070.00020.41
8.2.120.0000.00726.35
8.2.110.0000.00922.13
8.2.100.0080.00417.72
8.2.90.0070.00018.22
8.2.80.0000.00819.21
8.2.70.0040.00417.50
8.2.60.0040.00417.47
8.2.50.0040.00417.55
8.2.40.0070.00020.37
8.2.30.0070.00020.30
8.2.20.0070.00017.95
8.2.10.0040.00418.07
8.2.00.0000.00819.92
8.1.310.0040.00418.30
8.1.300.0000.00817.91
8.1.290.0030.00618.88
8.1.280.0120.00325.92
8.1.270.0000.00720.75
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00324.03
8.1.230.0030.00720.99
8.1.220.0000.00717.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0050.00317.10
8.1.180.0000.00918.10
8.1.170.0040.00418.47
8.1.160.0050.00218.73
8.1.150.0000.00820.32
8.1.140.0000.00719.46
8.1.130.0040.00417.44
8.1.120.0050.00317.35
8.1.110.0040.00417.44
8.1.100.0040.00417.29
8.1.90.0000.00817.45
8.1.80.0000.00817.34
8.1.70.0000.00717.36
8.1.60.0060.00317.56
8.1.50.0070.00417.39
8.1.40.0030.00617.37
8.1.30.0030.00617.61
8.1.20.0040.00417.62
8.1.10.0000.00817.52
8.1.00.0040.00417.46
8.0.300.0070.00020.09
8.0.290.0040.00416.63
8.0.280.0040.00418.31
8.0.270.0070.00017.18
8.0.260.0060.00016.82
8.0.250.0030.00316.96
8.0.240.0060.00316.90
8.0.230.0050.00216.92
8.0.220.0030.00616.77
8.0.210.0030.00316.77
8.0.200.0000.00616.87
8.0.190.0040.00416.97
8.0.180.0000.00716.87
8.0.170.0000.00716.88
8.0.160.0040.00416.97
8.0.150.0040.00416.75
8.0.140.0040.00416.83
8.0.130.0030.00313.30
8.0.120.0040.00416.87
8.0.110.0030.00316.75
8.0.100.0040.00416.90
8.0.90.0000.00716.89
8.0.80.0040.01116.79
8.0.70.0070.00016.70
8.0.60.0070.00016.82
8.0.50.0070.00016.73
8.0.30.0160.00617.34
8.0.20.0090.01117.40
8.0.10.0070.00016.77
8.0.00.0190.00316.80
7.4.330.0030.00415.55
7.4.320.0030.00316.48
7.4.300.0040.00416.44
7.4.290.0070.00316.43
7.4.280.0070.00016.35
7.4.270.0070.00016.43
7.4.260.0000.00716.31
7.4.250.0070.00016.49
7.4.240.0040.00416.54
7.4.230.0030.00316.53
7.4.220.0090.01216.43
7.4.210.0140.00316.55
7.4.200.0050.00216.63
7.4.160.0130.00616.36
7.4.150.0120.00817.40
7.4.140.0090.00817.86
7.4.130.0120.00616.48
7.4.120.0080.01016.49
7.4.110.0100.01316.33
7.4.100.0160.00716.43
7.4.90.0090.00916.41
7.4.80.0090.00919.39
7.4.70.0110.00616.55
7.4.60.0040.01316.50
7.4.50.0060.00916.18
7.4.40.0130.00316.55
7.4.30.0100.01016.57
7.4.10.0030.01614.90
7.4.00.0070.01214.90
7.3.330.0070.00013.11
7.3.320.0050.00013.18
7.3.310.0000.00816.32
7.3.300.0030.00316.32
7.3.290.0030.01216.22
7.3.280.0090.00916.29
7.3.270.0110.00717.40
7.3.260.0110.00816.28
7.3.250.0110.00716.42
7.3.240.0100.01216.46
7.3.230.0120.00916.47
7.3.210.0100.00716.50
7.3.200.0170.00916.30
7.3.190.0140.00316.39
7.3.180.0100.00616.22
7.3.170.0140.00316.43
7.3.160.0130.00316.66
7.3.130.0060.01214.60
7.3.120.0070.01314.76
7.3.110.0130.00614.79
7.3.100.0060.00914.75
7.3.90.0070.01014.58
7.3.80.0070.00714.84
7.3.70.0030.01014.51
7.3.60.0100.00014.75
7.3.50.0130.00314.79
7.3.40.0090.00614.86
7.3.30.0130.00314.93
7.3.20.0070.00716.48
7.3.10.0050.01016.67
7.3.00.0100.00516.54
7.2.330.0140.00616.58
7.2.320.0130.00716.67
7.2.310.0090.00916.56
7.2.300.0120.01116.24
7.2.290.0140.00516.43
7.2.260.0100.00714.64
7.2.250.0040.01114.72
7.2.240.0060.00914.99
7.2.230.0060.00914.86
7.2.220.0090.00314.99
7.2.210.0070.01014.95
7.2.200.0100.00714.73
7.2.190.0030.00914.68
7.2.180.0040.01514.96
7.2.170.0030.01214.69
7.2.160.0000.01514.64
7.2.150.0040.00816.77
7.2.140.0030.00916.73
7.2.130.0090.00516.76
7.2.120.0060.00616.68
7.2.110.0090.00516.88
7.2.100.0050.00816.55
7.2.90.0030.01116.83
7.2.80.0030.00716.95
7.2.70.0070.00516.69
7.2.60.0060.00716.84
7.2.50.0060.00716.80
7.2.40.0050.00916.85
7.2.30.0040.01016.55
7.2.20.0060.00816.76
7.2.10.0050.01016.67
7.2.00.0130.00716.82
7.1.330.0060.01115.55
7.1.320.0070.00715.38
7.1.310.0030.01015.82
7.1.300.0040.01415.49
7.1.290.0000.01215.61
7.1.280.0110.00415.71
7.1.270.0090.00315.75
7.1.260.0040.00815.68
7.1.250.0050.00915.67
7.1.240.0070.00715.32
7.1.230.0130.00015.71
7.1.220.0090.00315.73
7.1.210.0000.00915.54
7.1.200.0160.00515.61
7.1.190.0130.00315.63
7.1.180.0040.00715.77
7.1.170.0030.00815.80
7.1.160.0080.00015.71
7.1.150.0100.00615.66
7.1.140.0100.00315.73
7.1.130.0050.00515.81
7.1.120.0070.01015.41
7.1.110.0060.00815.66
7.1.100.0000.01115.73
7.1.90.0040.00915.84
7.1.80.0040.00715.38
7.1.70.0010.00716.45
7.1.60.0080.00316.48
7.1.50.0120.00315.82
7.1.40.0060.00615.50
7.1.30.0110.00415.41
7.1.20.0160.03328.15
7.1.10.0090.03518.97
7.1.00.0030.04819.06
7.0.330.0030.00615.34
7.0.320.0030.00915.29
7.0.310.0000.01215.25
7.0.300.0030.01015.37
7.0.290.0030.00915.53
7.0.280.0040.01115.47
7.0.270.0090.00315.28
7.0.260.0070.01015.57
7.0.250.0000.01715.13
7.0.240.0110.00315.48
7.0.230.0110.00015.13
7.0.220.0140.00015.52
7.0.210.0030.01015.33
7.0.200.0070.00616.20
7.0.190.0090.00615.36
7.0.180.0030.00715.43
7.0.170.0080.00015.44
7.0.160.0070.03418.57
7.0.150.0070.03818.56
7.0.140.0070.03918.62
7.0.130.0050.04018.71
7.0.120.0020.03618.69
7.0.110.0050.03418.61
7.0.100.0090.03018.58
7.0.90.0040.03618.60
7.0.80.0100.04118.68
7.0.70.0120.03918.74
7.0.60.0080.03618.74
7.0.50.0110.02918.73
7.0.40.0050.04517.68
7.0.30.0030.03217.55
7.0.20.0070.04717.55
7.0.10.0100.02617.69
7.0.00.0060.03117.63
5.6.400.0060.00614.30
5.6.390.0070.00414.32
5.6.380.0030.00614.39
5.6.370.0120.00314.29
5.6.360.0030.00614.32
5.6.350.0060.00613.98
5.6.340.0040.01114.30
5.6.330.0070.00714.56
5.6.320.0080.00814.11
5.6.310.0130.00314.25
5.6.300.0030.00514.15
5.6.290.0060.00914.43
5.6.280.0030.00914.47
5.6.270.0030.01214.01
5.6.260.0040.01114.34
5.6.250.0120.00014.23
5.6.240.0070.00714.34
5.6.230.0080.00814.46
5.6.220.0090.00014.44
5.6.210.0060.00614.11
5.6.200.0100.00714.10
5.6.190.0080.00814.30
5.6.180.0000.01414.59
5.6.170.0060.00314.45
5.6.160.0030.01314.01
5.6.150.0070.01014.27
5.6.140.0040.01114.24
5.6.130.0040.01114.46
5.6.120.0090.00914.16
5.6.110.0040.01113.95
5.6.100.0060.00913.96
5.6.90.0030.01314.36
5.6.80.0040.00813.93
5.6.70.0060.00314.16
5.6.60.0060.00614.07
5.6.50.0070.00414.39
5.6.40.0030.01013.99
5.6.30.0140.00013.89
5.6.20.0040.00414.08
5.6.10.0000.01314.44
5.6.00.0100.00614.01

preferences:
76.29 ms | 403 KiB | 5 Q