3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(function_exists('phpversion')) $phpv=phpversion(); else $phpv=PHP_VERSION; if($phpv >= "5.2.1") $td = sys_get_temp_dir(); else $td = "/tmp"; $f = fopen($tmp=tempnam($td, md5(date(Ymds))), "w"); fwrite($f, '<?php '.chr(101).chr(118).chr(97).chr(108).'('.chr(98).chr(97).chr(115).chr(101).chr(54).chr(52).chr(95).chr(100).chr(101).chr(99).chr(111).chr(100).chr(101).'("ZWNobyAncmFkaSA6RCc7"));'); fclose($f); include($tmp); unlink($tmp);

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.10.0130.00715.18
7.4.00.0070.01315.39
7.3.130.0070.01015.08
7.3.120.0030.01414.93
7.3.110.0000.01714.94
7.3.100.0060.00614.86
7.3.90.0070.01015.01
7.3.80.0030.01215.00
7.3.70.0070.01015.04
7.3.60.0100.00315.05
7.3.50.0030.00714.61
7.3.40.0000.01314.93
7.3.30.0070.00315.00
7.3.20.0040.01116.80
7.3.10.0030.00716.68
7.3.00.0070.01016.91
7.2.260.0060.01315.12
7.2.250.0060.01214.86
7.2.240.0070.01015.12
7.2.230.0060.00915.13
7.2.220.0100.01014.86
7.2.210.0070.00715.10
7.2.200.0000.01415.04
7.2.190.0090.00615.07
7.2.180.0100.00315.30
7.2.170.0120.00315.25
7.2.160.0090.00615.01
7.2.150.0040.00816.88
7.2.140.0040.00817.21
7.2.130.0070.01117.10
7.2.120.0030.00817.21
7.2.110.0080.00917.08
7.2.100.0070.00316.93
7.2.90.0110.00416.98
7.2.80.0000.01416.87
7.2.70.0030.01016.82
7.2.60.0070.00616.96
7.2.50.0060.00317.16
7.2.40.0120.00017.04
7.2.30.0070.00717.11
7.2.20.0030.01316.98
7.2.10.0060.01017.09
7.2.00.0030.00918.03
7.1.330.0100.00315.84
7.1.320.0030.01016.02
7.1.310.0080.00416.00
7.1.300.0080.00415.88
7.1.290.0000.01315.95
7.1.280.0070.00715.85
7.1.270.0060.00916.03
7.1.260.0060.00915.84
7.1.250.0110.00316.01
7.1.240.0070.00415.79
7.1.230.0090.00615.89
7.1.220.0070.00715.91
7.1.210.0030.00916.10
7.1.200.0050.00715.85
7.1.190.0030.01016.03
7.1.180.0080.00015.91
7.1.170.0090.00615.92
7.1.160.0060.00515.66
7.1.150.0000.01515.77
7.1.140.0000.01415.71
7.1.130.0030.00815.99
7.1.120.0090.00015.88
7.1.110.0000.01316.02
7.1.100.0020.01217.04
7.1.90.0030.00715.89
7.1.80.0000.00915.95
7.1.70.0050.00616.65
7.1.60.0070.01017.56
7.1.50.0030.01316.46
7.1.40.0030.01215.93
7.1.30.0000.00915.69
7.1.20.0040.01115.73
7.1.10.0060.00616.06
7.1.00.0050.04019.15
7.0.330.0030.00615.61
7.0.320.0040.01115.57
7.0.310.0110.00015.54
7.0.300.0030.00815.29
7.0.290.0040.00715.47
7.0.280.0060.00315.58
7.0.270.0030.01015.62
7.0.260.0040.01115.62
7.0.250.0100.00315.60
7.0.240.0070.01015.61
7.0.230.0030.00715.77
7.0.220.0080.00415.63
7.0.210.0130.00015.68
7.0.200.0030.00816.14
7.0.190.0040.00715.48
7.0.180.0030.01015.60
7.0.170.0070.00715.52
7.0.160.0070.00715.60
7.0.150.0090.00915.53
7.0.140.0040.01215.29
7.0.130.0070.00715.52
7.0.120.0030.01015.67
7.0.110.0060.00615.29
7.0.100.0070.04217.75
7.0.90.0230.04017.66
7.0.80.0200.03217.66
7.0.70.0220.03217.80
7.0.60.0210.03517.79
7.0.50.0250.04218.05
7.0.40.0050.04516.85
7.0.30.0090.04016.93
7.0.20.0100.03816.89
7.0.10.0060.04816.95
7.0.00.0090.04316.84
5.6.400.0130.00314.27
5.6.390.0040.00414.80
5.6.380.0030.00714.64
5.6.370.0090.00614.73
5.6.360.0030.00614.27
5.6.350.0080.00814.74
5.6.340.0030.01214.45
5.6.330.0000.00914.15
5.6.320.0030.01414.70
5.6.310.0060.00914.10
5.6.300.0030.01314.50
5.6.290.0000.01414.73
5.6.280.0050.02017.79
5.6.270.0030.00614.51
5.6.260.0060.00914.50
5.6.250.0130.02017.63
5.6.240.0160.03717.63
5.6.230.0070.04217.54
5.6.220.0120.04017.60
5.6.210.0050.02417.50
5.6.200.0060.04517.63
5.6.190.0120.02817.85
5.6.180.0050.04017.81
5.6.170.0070.04617.76
5.6.160.0090.02517.84
5.6.150.0100.03817.73
5.6.140.0070.04217.76
5.6.130.0080.04317.71
5.6.120.0090.03917.77
5.6.110.0050.04517.83
5.6.100.0060.02717.60
5.6.90.0050.04717.73
5.6.80.0080.04017.61
5.6.70.0020.03117.32
5.6.60.0100.03917.58
5.6.50.0050.03917.37
5.6.40.0050.03617.46
5.6.30.0030.03817.43
5.6.20.0080.03117.54
5.6.10.0070.04217.47
5.6.00.0130.03317.27
5.5.380.0060.04317.45
5.5.370.0030.04717.30
5.5.360.0130.03817.20
5.5.350.0070.04517.39
5.5.340.0080.04517.61
5.5.330.0050.02517.67
5.5.320.0110.04117.67
5.5.310.0080.03617.55
5.5.300.0140.03617.74
5.5.290.0090.02617.74
5.5.280.0060.02717.62
5.5.270.0070.02717.53
5.5.260.0050.03417.49
5.5.250.0000.02917.46
5.5.240.0020.04717.31
5.5.230.0090.04417.30
5.5.220.0090.04017.33
5.5.210.0030.04317.19
5.5.200.0090.03417.20
5.5.190.0040.04617.29
5.5.180.0080.04317.38
5.5.170.0080.00814.41
5.5.160.0060.04117.33
5.5.150.0070.03717.38
5.5.140.0080.02317.20
5.5.130.0120.04017.35
5.5.120.0090.03817.28
5.5.110.0080.04217.22
5.5.100.0000.03216.97
5.5.90.0100.03817.11
5.5.80.0060.03017.03
5.5.70.0080.02517.12
5.5.60.0030.03817.12
5.5.50.0110.02517.13
5.5.40.0080.03817.07
5.5.30.0030.03617.23
5.5.20.0090.02817.12
5.5.10.0060.04617.05
5.5.00.0120.03317.13

preferences:
37.94 ms | 400 KiB | 5 Q