3v4l.org

run code in 300+ PHP versions simultaneously
<?php // see https://github.com/eyecatchup/SEOstats/pull/42#issuecomment-29747931 if (!ini_get('date.timezone') && function_exists('date_default_timezone_set')) { date_default_timezone_set('UTC'); } // borrowed/adapted from https://www.php.net/manual/en/function.microtime.php#example-2402 function getMillitime() { list($usec, $sec) = explode(' ', microtime()); $microtime = ((float)$usec + (float)$sec); $millitime = $microtime * 100; return $millitime; } echo getMillitime();

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.0100.00714.90
7.4.00.0090.00915.11
7.3.130.0070.01115.12
7.3.120.0070.01114.89
7.3.110.0060.01014.64
7.3.100.0060.00614.87
7.3.90.0090.00615.09
7.3.80.0000.01114.59
7.3.70.0120.00314.96
7.3.60.0090.00614.65
7.3.50.0000.00914.46
7.3.40.0100.00714.90
7.3.30.0030.01314.88
7.3.20.0060.00916.62
7.3.10.0040.01116.61
7.3.00.0040.00816.66
7.2.260.0120.00915.05
7.2.250.0110.00714.99
7.2.240.0110.00314.76
7.2.230.0060.00615.16
7.2.220.0040.01115.14
7.2.210.0060.00914.91
7.2.200.0070.01015.05
7.2.190.0090.00014.88
7.2.180.0070.00315.09
7.2.170.0040.01115.05
7.2.160.0030.01215.14
7.2.150.0040.01216.85
7.2.140.0040.01116.90
7.2.130.0030.01316.65
7.2.120.0100.00616.74
7.2.110.0130.00316.75
7.2.100.0070.01116.94
7.2.90.0060.00616.86
7.2.80.0050.00517.02
7.2.70.0060.00916.96
7.2.60.0030.00917.02
7.2.50.0000.01316.88
7.2.40.0130.00316.94
7.2.30.0040.01116.92
7.2.20.0040.01416.84
7.2.10.0060.01216.89
7.2.00.0020.00918.20
7.1.330.0110.00315.63
7.1.320.0030.00715.87
7.1.310.0030.01415.72
7.1.300.0000.01215.80
7.1.290.0070.00715.70
7.1.280.0070.00715.60
7.1.270.0060.00815.60
7.1.260.0040.01115.73
7.1.250.0070.00715.76
7.1.240.0030.01015.54
7.1.230.0030.01015.82
7.1.220.0090.00615.77
7.1.210.0090.00615.77
7.1.200.0070.00715.86
7.1.190.0030.01015.80
7.1.180.0060.00615.84
7.1.170.0090.00615.82
7.1.160.0060.00615.63
7.1.150.0070.00415.95
7.1.140.0000.01215.91
7.1.130.0040.00815.47
7.1.120.0060.00315.81
7.1.110.0030.00815.88
7.1.100.0070.01015.78
7.1.90.0080.00415.80
7.1.80.0070.01015.79
7.1.70.0010.01416.47
7.1.60.0080.01117.64
7.1.50.0080.00516.12
7.1.40.0070.00715.82
7.1.30.0080.00415.80
7.1.20.0000.01515.88
7.1.10.0030.01515.80
7.1.00.0050.04019.10
7.0.330.0070.00715.37
7.0.320.0070.00715.38
7.0.310.0060.00315.43
7.0.300.0080.00315.16
7.0.290.0050.00315.37
7.0.280.0040.00815.53
7.0.270.0000.01015.13
7.0.260.0030.01315.36
7.0.250.0030.00615.51
7.0.240.0000.01415.56
7.0.230.0090.00415.35
7.0.220.0100.00315.20
7.0.210.0030.01215.37
7.0.200.0060.00416.02
7.0.190.0030.00915.34
7.0.180.0060.00615.13
7.0.170.0120.00315.37
7.0.160.0040.01215.38
7.0.150.0100.00015.47
7.0.140.0020.03918.60
7.0.130.0030.01015.36
7.0.120.0020.04318.61
7.0.110.0050.04118.74
7.0.100.0030.04018.79
7.0.90.0030.03818.66
7.0.80.0110.03318.75
7.0.70.0050.04118.76
7.0.60.0050.03818.79
7.0.50.0020.04318.82
7.0.40.0040.03617.81
7.0.30.0100.03517.75
7.0.20.0090.02917.67
7.0.10.0050.03917.85
7.0.00.0100.03417.81
5.6.400.0070.00314.38
5.6.390.0060.00314.72
5.6.380.0090.00014.16
5.6.370.0030.00714.52
5.6.360.0110.00714.68
5.6.350.0080.00614.45
5.6.340.0000.01414.27
5.6.330.0030.01014.41
5.6.320.0030.00914.20
5.6.310.0090.00614.43
5.6.300.0000.01314.56
5.6.290.0000.01414.36
5.6.280.0080.03817.68
5.6.270.0100.00714.31
5.6.260.0090.03517.64
5.6.250.0030.04017.83
5.6.240.0000.04117.71
5.6.230.0050.04017.79
5.6.220.0090.03317.50
5.6.210.0050.03617.67
5.6.200.0030.04317.71
5.6.190.0070.03717.68
5.6.180.0030.03717.72
5.6.170.0050.03217.67
5.6.160.0070.03717.59
5.6.150.0080.03917.67
5.6.140.0030.04317.84
5.6.130.0040.04017.63
5.6.120.0030.04317.91
5.6.110.0050.03917.68
5.6.100.0040.04317.53
5.6.90.0030.04317.73
5.6.80.0100.03317.44
5.6.70.0100.03217.46
5.6.60.0020.03917.43
5.6.50.0050.03817.28
5.6.40.0080.03517.19
5.6.30.0050.04017.27
5.6.20.0050.03717.24
5.6.10.0050.03917.47
5.6.00.0020.04017.20
5.5.380.0030.06717.60
5.5.370.0030.06317.55
5.5.360.0000.07717.54
5.5.350.0000.07317.55
5.5.340.0030.06017.96
5.5.330.0070.07017.92
5.5.320.0030.05718.13
5.5.310.0030.06018.23
5.5.300.0000.07718.25
5.5.290.0030.07318.10
5.5.280.0070.07018.25
5.5.270.0070.06018.05
5.5.260.0070.06317.90
5.5.250.0030.07317.91
5.5.240.0000.07017.43
5.5.230.0000.07317.43
5.5.220.0070.06317.29
5.5.210.0000.07017.32
5.5.200.0000.06317.49
5.5.190.0070.05017.28
5.5.180.0030.07017.27
5.5.160.0030.06317.59
5.5.150.0030.06317.48
5.5.140.0000.07017.57
5.5.130.0000.07017.48
5.5.120.0000.07317.44
5.5.110.0030.06717.45
5.5.100.0070.06717.51
5.5.90.0000.06717.35
5.5.80.0000.06717.18
5.5.70.0000.07317.37
5.5.60.0000.07017.36
5.5.50.0000.07017.07
5.5.40.0070.06317.37
5.5.30.0030.06717.17
5.5.20.0000.07317.36
5.5.10.0000.07317.36
5.5.00.0070.06717.30
5.4.450.0030.07319.47
5.4.440.0000.07319.33
5.4.430.0000.06019.29
5.4.420.0030.07019.41
5.4.410.0000.07019.37
5.4.400.0030.06718.98
5.4.390.0030.06319.01
5.4.380.0100.06018.99
5.4.370.0000.07018.92
5.4.360.0070.06719.09
5.4.350.0000.07319.13
5.4.340.0070.06319.23
5.4.320.0030.07018.99
5.4.310.0030.06719.33
5.4.300.0070.06318.98
5.4.290.0030.06719.00
5.4.280.0000.07319.17
5.4.270.0070.06319.22
5.4.260.0030.06019.00
5.4.250.0000.07018.99
5.4.240.0030.06719.14
5.4.230.0000.07019.16
5.4.220.0030.07019.12
5.4.210.0000.06319.30
5.4.200.0100.05318.99
5.4.190.0030.06719.25
5.4.180.0030.06319.17
5.4.170.0030.06719.16
5.4.160.0000.07019.17
5.4.150.0070.06719.31
5.4.140.0000.07016.60
5.4.130.0000.06716.50
5.4.120.0000.06716.50
5.4.110.0030.06716.57
5.4.100.0000.06316.41
5.4.90.0100.05316.50
5.4.80.0030.05716.61
5.4.70.0030.06316.39
5.4.60.0030.06016.29
5.4.50.0000.06716.52
5.4.40.0000.06716.54
5.4.30.0030.06016.51
5.4.20.0070.06016.52
5.4.10.0030.06016.32
5.4.00.0000.06315.97
5.3.290.0030.06314.65
5.3.280.0030.06714.72
5.3.270.0030.07014.73
5.3.260.0030.07014.71
5.3.250.0070.06314.58
5.3.240.0070.05314.48
5.3.230.0030.05714.55
5.3.220.0030.06714.70
5.3.210.0030.07014.80
5.3.200.0000.07014.56
5.3.190.0030.06314.57
5.3.180.0000.06714.70
5.3.170.0070.05714.69
5.3.160.0000.07014.43
5.3.150.0000.06714.69
5.3.140.0030.06014.63
5.3.130.0000.07014.57
5.3.120.0070.06714.55
5.3.110.0030.06714.56
5.3.100.0030.06313.89
5.3.90.0030.06313.98
5.3.80.0030.06314.03
5.3.70.0000.07014.01
5.3.60.0000.06714.02
5.3.50.0070.05313.98
5.3.40.0030.06313.91
5.3.30.0000.06713.86
5.3.20.0070.06013.75
5.3.10.0030.05713.61
5.3.00.0030.06013.63
5.2.170.0030.05313.15
5.2.160.0000.05713.15
5.2.150.0030.04713.15
5.2.140.0000.05713.15
5.2.130.0070.05013.15
5.2.120.0000.05013.15
5.2.110.0030.05313.15
5.2.100.0000.04313.15
5.2.90.0000.05313.15
5.2.80.0000.05713.15
5.2.70.0000.05013.15
5.2.60.0000.05713.15
5.2.50.0000.05713.15
5.2.40.0030.05313.15
5.2.30.0030.05313.15
5.2.20.0000.05313.15
5.2.10.0000.05313.15
5.2.00.0030.05313.15
5.1.60.0000.04713.15
5.1.50.0070.04313.15
5.1.40.0030.04313.15
5.1.30.0030.04713.15
5.1.20.0070.04313.15
5.1.10.0000.05013.15
5.1.00.0030.04713.15
5.0.50.0000.04013.15
5.0.40.0030.03713.15
5.0.30.0000.05313.15
5.0.20.0030.03313.15
5.0.10.0000.03713.15
5.0.00.0030.05313.15
4.4.90.0000.03313.15
4.4.80.0070.02013.15
4.4.70.0030.03013.15
4.4.60.0000.03013.15
4.4.50.0000.03013.15
4.4.40.0070.04313.15
4.4.30.0000.03013.15
4.4.20.0030.03013.15
4.4.10.0030.02713.15
4.4.00.0000.05013.15
4.3.110.0030.03013.15
4.3.100.0000.02713.15
4.3.90.0000.03013.15
4.3.80.0000.04713.15
4.3.70.0070.02313.15
4.3.60.0000.02713.15
4.3.50.0070.02713.15
4.3.40.0070.04013.15
4.3.30.0000.03313.15
4.3.20.0030.03013.15
4.3.10.0030.03013.15
4.3.00.0000.03013.15

preferences:
39.87 ms | 401 KiB | 5 Q