3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(extension_loaded('sodium')) { echo "libsodium is present.\n"; } printf("Opcache is %s.\n", ini_get('opcache.enable'));

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.00718.18
8.3.50.0120.00718.27
8.3.40.0100.00718.85
8.3.30.0110.00418.72
8.3.20.0000.00721.79
8.3.10.0050.00320.91
8.3.00.0040.00421.74
8.2.180.0040.01125.92
8.2.170.0040.01122.96
8.2.160.0070.00722.28
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0100.00022.18
8.2.100.0040.01118.85
8.2.90.0080.00017.63
8.2.80.0030.00619.23
8.2.70.0000.00817.80
8.2.60.0000.00818.03
8.2.50.0000.00719.11
8.2.40.0070.00019.13
8.2.30.0050.00220.33
8.2.20.0000.01017.85
8.2.10.0040.00418.74
8.2.00.0050.00217.82
8.1.280.0100.00725.92
8.1.270.0130.00620.57
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.14
8.1.230.0090.00319.09
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00717.22
8.1.190.0040.00418.94
8.1.180.0060.00318.10
8.1.170.0000.00918.53
8.1.160.0040.00418.80
8.1.150.0070.00018.65
8.1.140.0030.00320.30
8.1.130.0030.00320.20
8.1.120.0070.00317.26
8.1.110.0000.00817.36
8.1.100.0000.00717.40
8.1.90.0030.00617.34
8.1.80.0030.00517.22
8.1.70.0050.00517.30
8.1.60.0000.00917.47
8.1.50.0040.00417.39
8.1.40.0040.00417.36
8.1.30.0030.00517.52
8.1.20.0040.00417.50
8.1.10.0030.00617.31
8.1.00.0070.00017.40
8.0.300.0000.00719.63
8.0.290.0040.00416.63
8.0.280.0030.00318.31
8.0.270.0070.00017.10
8.0.260.0040.00418.40
8.0.250.0000.00716.78
8.0.240.0000.00816.75
8.0.230.0020.00516.73
8.0.220.0080.00016.64
8.0.210.0030.00316.61
8.0.200.0000.00816.80
8.0.190.0080.00016.80
8.0.180.0040.00416.79
8.0.170.0000.00916.74
8.0.160.0000.00716.75
8.0.150.0080.00316.73
8.0.140.0040.00416.73
8.0.130.0000.00613.18
8.0.120.0000.00816.77
8.0.110.0030.00516.70
8.0.100.0040.00416.64
8.0.90.0040.00416.63
8.0.80.0100.00516.73
8.0.70.0000.00816.59
8.0.60.0040.00416.82
8.0.50.0000.00716.58
8.0.30.0070.01016.92
8.0.20.0080.01116.84
8.0.10.0040.00416.88
8.0.00.0100.00916.55
7.4.330.0040.00015.55
7.4.320.0000.00616.47
7.4.300.0060.00016.43
7.4.290.0060.00316.46
7.4.280.0000.00716.34
7.4.270.0000.00816.46
7.4.260.0050.00216.26
7.4.250.0000.00716.26
7.4.240.0000.00716.42
7.4.230.0000.00716.42
7.4.220.0070.00016.57
7.4.210.0030.01116.37
7.4.200.0050.00216.25
7.4.160.0070.01116.35
7.4.140.0100.01017.86
7.4.130.0130.01016.34
7.4.120.0140.00316.38
7.4.110.0080.01216.24
7.4.100.0060.01616.34
7.4.90.0070.01016.49
7.4.80.0100.01319.39
7.4.70.0050.01416.49
7.4.60.0060.01016.49
7.4.50.0110.00716.44
7.4.40.0120.00616.39
7.4.00.0060.00814.75
7.3.330.0050.00012.92
7.3.320.0060.00012.99
7.3.310.0070.00016.19
7.3.300.0020.00516.15
7.3.290.0090.00616.16
7.3.280.0080.01016.12
7.3.260.0110.00816.21
7.3.240.0100.01116.39
7.3.230.0100.00616.21
7.3.210.0130.00316.05
7.3.200.0100.00716.52
7.3.190.0130.00316.37
7.3.180.0040.01216.09
7.3.170.0030.01316.12
7.3.160.0130.00316.41
7.3.120.0040.01414.84
7.3.110.0030.01414.40
7.3.100.0030.01414.47
7.3.90.0000.00914.46
7.3.80.0080.00514.63
7.3.70.0070.00714.49
7.3.60.0000.01314.49
7.3.50.0080.01114.55
7.3.40.0080.00714.52
7.3.30.0060.00614.66
7.3.20.0080.00515.45
7.3.10.0080.00615.58
7.3.00.0050.01015.58
7.2.330.0310.01516.30
7.2.320.0130.00316.54
7.2.310.0170.00016.43
7.2.300.0100.00716.54
7.2.290.0170.00316.34
7.2.250.0090.01014.71
7.2.240.0000.01914.83
7.2.230.0070.01114.68
7.2.220.0000.01514.68
7.2.210.0090.00614.96
7.2.200.0060.00914.51
7.2.190.0030.01314.69
7.2.180.0090.00814.81
7.2.170.0090.00314.83
7.2.160.0150.00914.79
7.2.150.0060.00614.84
7.2.140.0090.00614.82
7.2.130.0070.00714.86
7.2.120.0160.01014.79
7.2.110.0170.01014.40
7.2.100.0040.01114.60
7.2.90.0220.00614.82
7.2.80.0130.01014.81
7.2.70.1060.00314.78
7.2.60.0150.00014.95
7.2.50.0100.00714.66
7.2.40.0120.01115.08
7.2.30.0260.00614.96
7.2.20.0150.00315.01
7.2.10.0190.00914.77
7.2.00.0040.00814.94
7.1.330.0040.01115.33
7.1.320.0120.00315.75
7.1.310.0110.00715.67
7.1.300.0070.00715.66
7.1.290.0030.00915.52
7.1.280.0100.00314.68
7.1.270.0120.00514.61
7.1.260.0130.00614.75
7.1.250.0100.00313.60

preferences:
33.66 ms | 401 KiB | 5 Q