3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Windows\System32 { const explorer = 'foo'; } namespace { const C = 'bar'; const exe = 'baz'; echo random_int(0,1)? C:\Windows\System32\explorer.exe ;}

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.00.0070.01214.76
7.3.120.0120.00614.81
7.3.110.0090.00614.58
7.3.100.0090.01114.73
7.3.90.0030.01314.74
7.3.80.0060.00614.60
7.3.70.0060.00714.84
7.3.60.0050.00714.58
7.3.50.0060.00714.53
7.3.40.0070.00614.61
7.3.30.0020.00714.83
7.3.20.0520.00715.14
7.3.10.0500.00815.13
7.3.00.0540.00715.17
7.2.250.0080.01215.09
7.2.240.0040.01215.03
7.2.230.0040.01315.04
7.2.220.0110.00514.99
7.2.210.0040.01115.09
7.2.200.0040.00814.95
7.2.190.0060.01014.89
7.2.180.0050.01014.99
7.2.170.0030.01014.87
7.2.160.0070.01014.71
7.2.150.0610.00615.18
7.2.140.0660.00715.23
7.2.130.0570.00715.20
7.2.120.0570.00415.21
7.2.110.0580.00715.26
7.2.100.0600.00715.24
7.2.90.0580.01015.22
7.2.80.0550.00815.30
7.2.70.0560.00815.28
7.2.60.0580.00615.15
7.2.50.0590.00915.25
7.2.40.0560.00715.21
7.2.30.0640.00615.34
7.2.20.0690.00815.17
7.2.10.0680.00815.29
7.2.00.0630.00815.23
7.1.330.0060.01015.82
7.1.320.0060.00915.58
7.1.310.0060.00815.64
7.1.300.0100.00115.66
7.1.290.0030.01015.55
7.1.280.0080.00415.66
7.1.270.0030.01015.63
7.1.260.0060.00615.67
7.1.250.0560.00814.07
7.1.240.0060.00615.68
7.1.230.0060.00915.64
7.1.220.0030.00915.70
7.1.210.0110.00315.65
7.1.200.0060.00915.81
7.1.190.0080.00815.58
7.1.180.0080.00815.80
7.1.170.0060.01215.64
7.1.160.0060.00615.34
7.1.150.0040.01115.59
7.1.140.0090.00615.70
7.1.130.0150.00015.88
7.1.120.0060.00615.71
7.1.110.0120.00015.63
7.1.100.0080.00415.61
7.1.90.0040.01115.92
7.1.80.0070.00315.57
7.1.70.0000.01715.70
7.1.60.0070.00715.37
7.1.50.0080.00415.61
7.1.40.0090.00615.49
7.1.30.0070.01015.57
7.1.20.0000.01515.58
7.1.10.0090.00615.63
7.1.00.0060.00615.81

preferences:
17.11 ms | 401 KiB | 5 Q