3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(hrtime(true) / 1e7); var_dump(microtime(true));

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)
7.4.30.0110.01816.44
7.4.20.0160.01116.42
7.4.10.0170.00816.02
7.4.00.0070.01715.98
7.3.150.0090.01115.87
7.3.140.0180.00916.12
7.3.130.0130.01316.31
7.3.120.0200.00916.41
7.3.110.0180.00615.58
7.3.100.0240.00716.39
7.3.90.0170.01216.16
7.3.80.0200.00716.13
7.3.70.0100.01416.18
7.3.60.0220.00716.02
7.3.50.0200.00916.16
7.3.40.0090.01716.29
7.3.30.0190.00816.24
7.3.20.0210.00416.18
7.3.10.0180.01116.18
7.3.00.0320.00715.03
7.2.280.0200.01016.37
7.2.270.0180.01416.57
7.2.260.0130.01316.49
7.2.250.0210.00916.71
7.2.240.0180.01116.30
7.2.230.0220.00716.53
7.2.220.0200.00816.57
7.2.210.0120.01216.51
7.2.200.0160.01316.38
7.2.190.0240.00516.36
7.2.180.0170.01416.40
7.2.170.0170.01016.27
7.2.160.0210.00716.27
7.2.150.0190.00816.49
7.2.140.0200.00716.58
7.2.130.0420.00515.13
7.2.120.0380.00915.21
7.2.110.0450.00815.11
7.2.100.0450.00715.24
7.2.90.0390.00215.20
7.2.80.0380.00815.18
7.2.70.0340.00715.25
7.2.60.0500.00815.26
7.2.50.0370.00715.10
7.2.40.0400.00715.16
7.2.30.0430.00615.30
7.2.20.0420.01015.07
7.2.10.0420.00515.25
7.2.00.0390.00815.18
7.1.330.0190.00715.47
7.1.320.0190.00715.44
7.1.310.0230.00315.48
7.1.300.0120.01315.35
7.1.290.0160.01115.30
7.1.280.0160.00815.35
7.1.270.0200.00315.38
7.1.260.0310.01215.40
7.1.250.0560.00814.03
7.1.240.0190.00815.38
7.1.230.0210.00815.29
7.1.220.0210.00715.25
7.1.210.0150.01215.30
7.1.200.0190.00915.48
7.1.190.0080.01615.29
7.1.180.0130.01415.26
7.1.170.0090.00615.22
7.1.160.0100.01015.40
7.1.150.0080.01115.29
7.1.140.0100.00615.30
7.1.130.0090.00915.32
7.1.120.0170.01315.39
7.1.110.0070.00715.40
7.1.100.0040.01115.32
7.1.90.0110.00315.35
7.1.80.0030.01315.46
7.1.70.0060.00915.25
7.1.60.0100.00315.38
7.1.50.0140.00015.41
7.1.40.0030.01215.33
7.1.30.0110.00715.39
7.1.20.0040.01315.32
7.1.10.0070.01415.35
7.1.00.0060.00915.32
7.0.330.0220.01615.01
7.0.320.0060.01915.14
7.0.310.0190.00415.06
7.0.300.0070.00715.17
7.0.290.0140.00315.06
7.0.280.0000.02014.92
7.0.270.0090.00614.94
7.0.260.0060.01015.18
7.0.250.0040.01115.11
7.0.240.0030.01215.16
7.0.230.0000.01315.11
7.0.220.0030.01315.01
7.0.210.0070.00715.16
7.0.200.0040.01115.02
7.0.190.0000.01314.96
7.0.180.0070.01115.08
7.0.170.0070.01015.09
7.0.160.0120.00915.14
7.0.150.0100.01015.23
7.0.140.0030.01715.08
7.0.130.0070.00715.04
7.0.120.0080.00515.31
7.0.110.0060.00915.15
7.0.100.0030.01015.05
7.0.90.0070.00714.95
7.0.80.0070.00814.99
7.0.70.0290.00015.25
7.0.60.0120.00315.04
7.0.50.0080.00515.17
7.0.40.0100.00715.11
7.0.30.0080.00815.01
7.0.20.0060.00914.89
7.0.10.0110.00515.12
7.0.00.0140.00014.93

preferences:
19.21 ms | 401 KiB | 5 Q