3v4l.org

run code in 300+ PHP versions simultaneously
<?php //define('HELLO', 'hello'); echo HELLO;

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.1rc30.0050.00216.79
8.1rc20.0070.00016.80
8.1rc10.0040.00416.76
8.0.130.0000.00613.45
8.0.120.0000.00716.84
8.0.110.0040.00416.97
8.0.100.0050.00216.90
8.0.90.0000.00717.01
8.0.80.0030.01816.88
8.0.70.0040.00416.91
8.0.60.0050.00316.94
8.0.50.0000.00716.77
8.0.30.0070.01017.10
8.0.20.0070.01217.40
8.0.10.0000.00916.82
8.0.00.0100.01016.83
7.4.260.0040.00416.43
7.4.250.0070.00016.38
7.4.240.0030.00316.36
7.4.230.0000.00716.54
7.4.220.0100.00616.49
7.4.210.0030.01116.46
7.4.200.0020.00516.33
7.4.160.0130.00216.35
7.4.150.0110.00717.40
7.4.140.0080.01317.86
7.4.130.0100.00716.55
7.4.120.0090.01016.50
7.4.110.0100.00716.45
7.4.100.0070.01016.66
7.4.90.0100.00716.50
7.4.80.0060.01019.39
7.4.70.0110.01116.43
7.4.60.0080.00816.34
7.4.50.0070.00716.57
7.4.40.0080.00816.59
7.4.30.0060.00916.56
7.4.00.0080.00814.97
7.3.330.0040.00413.12
7.3.320.0050.00013.02
7.3.310.0030.00316.04
7.3.300.0000.00716.02
7.3.290.0100.00616.18
7.3.280.0070.00716.17
7.3.270.0120.00417.40
7.3.260.0100.00716.31
7.3.250.0090.01016.29
7.3.240.0090.00916.28
7.3.230.0060.00916.29
7.3.210.0070.01016.30
7.3.200.0100.00716.11
7.3.190.0060.00916.13
7.3.180.0120.00916.16
7.3.170.0100.01316.40
7.3.160.0060.00916.29
7.3.120.0030.01114.90
7.3.110.0110.00714.86
7.3.100.0030.00714.87
7.3.90.0110.00414.84
7.3.80.0030.00914.65
7.3.70.0100.00314.73
7.3.60.0040.01114.73
7.3.50.0030.01014.38
7.3.40.0000.01014.79
7.3.30.0030.00714.79
7.3.20.0040.00716.71
7.3.10.0070.00316.64
7.3.00.0030.01016.59
7.2.330.0070.01016.29
7.2.320.0030.01416.27
7.2.310.0120.00916.65
7.2.300.0090.00916.33
7.2.290.0060.01016.57
7.2.250.0070.01014.93
7.2.240.0100.01014.96
7.2.230.0070.01114.76
7.2.220.0090.00314.88
7.2.210.0000.00914.98
7.2.200.0030.00614.78
7.2.190.0070.00714.83
7.2.180.0060.00914.75
7.2.170.0070.01014.95
7.2.60.0120.00016.57
7.2.00.0030.01218.89
7.1.330.0100.00315.61
7.1.320.0110.00415.57
7.1.310.0040.01115.71
7.1.300.0060.00615.59
7.1.290.0070.00715.62
7.1.280.0030.00915.69
7.1.270.0120.00315.58
7.1.260.0060.00615.58
7.1.200.0030.00915.65
7.1.120.0060.00717.52
7.1.110.0060.00817.10
7.1.100.0160.00617.04
7.1.90.0070.00717.07
7.1.80.0060.00617.01
7.1.70.0040.00716.10
7.1.60.0170.00733.97
7.1.50.0150.00933.60
7.1.40.0140.01033.34
7.1.30.0180.00633.32
7.1.20.0190.00533.72
7.1.10.0030.01015.44
7.1.00.0100.00315.59

preferences:
11.66 ms | 455 KiB | 5 Q