3v4l.org

run code in 200+ PHP versions simultaneously
<?php $stnum = 0; while ($stnum <= 125){ $stize = rand(0,5); $xl = rand(0,800); $yl = rand(0,600); $r = mt_rand(0,255); $g = mt_rand(0,255); $b = mt_rand(0,255); echo sprintf( "%3d|%3d|%3d|%3d|%3d|%3d|%3d\n", $stnum, $stize, $xl, $yl, $r, $g, $b ); $stnum += 1; }

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.0160.00316.48
7.4.00.0170.00716.16
7.3.130.0040.01716.15
7.3.120.0100.01416.24
7.3.110.0070.01816.04
7.3.100.0140.00716.09
7.3.90.0120.00815.95
7.3.80.0180.01116.01
7.3.70.0200.01116.10
7.3.60.0100.01315.98
7.3.50.0390.00716.32
7.3.40.0130.01716.30
7.3.30.0200.00616.27
7.3.20.0170.00916.09
7.3.10.0270.00016.32
7.3.00.0170.01116.21
7.2.260.0160.01216.46
7.2.250.0210.01316.41
7.2.240.0350.01516.57
7.2.230.0170.00916.64
7.2.220.0140.01516.27
7.2.210.0160.01716.49
7.2.200.0250.00816.38
7.2.190.0160.00916.49
7.2.180.0120.01416.39
7.2.170.0210.00316.36
7.2.160.0150.00816.25
7.2.150.0210.00616.45
7.2.140.0210.00716.57
7.2.130.0170.01416.41
7.2.120.0220.00816.68
7.2.110.0360.00816.55
7.2.100.0110.01116.36
7.2.90.0080.01616.40
7.2.80.0100.01015.40
7.2.70.0560.01115.34
7.2.60.0590.00815.41
7.2.50.0690.01215.36
7.2.40.0780.00715.34
7.2.30.0830.00615.36
7.2.20.1010.00715.36
7.2.10.0730.00915.37
7.2.00.0600.00915.30
7.1.330.0190.01415.48
7.1.320.0430.00715.72
7.1.310.0230.00815.55
7.1.300.0170.00915.41
7.1.290.0150.01215.36
7.1.280.0220.00615.54
7.1.270.0180.00615.53
7.1.260.0110.01415.42
7.1.250.0180.00615.73
7.1.240.0160.00815.50
7.1.230.0140.01115.61
7.1.220.0260.00315.55
7.1.210.0170.01215.35
7.1.200.0220.00614.65
7.1.190.1100.00214.62
7.1.180.0950.00714.64
7.1.170.0660.00914.30
7.1.160.0890.01014.11
7.1.150.0980.00614.23
7.1.140.1120.01014.33
7.1.130.0700.00914.32
7.1.120.0610.00914.36
7.1.110.0540.00614.27
7.1.100.0680.00914.24
7.1.90.0560.00814.22
7.1.80.0570.00914.15
7.1.70.0400.00814.19
7.1.60.0560.01227.65
7.1.50.0540.00827.81
7.1.40.0380.01027.67
7.1.30.0420.01227.60
7.1.20.0410.01327.76
7.1.10.0280.01014.23
7.1.00.0210.01014.17
7.0.330.0260.00315.38
7.0.320.0160.00815.29
7.0.310.0080.01314.29
7.0.300.0950.00813.95
7.0.290.0700.01013.88
7.0.280.0940.00614.20
7.0.270.0530.00613.81
7.0.260.0730.01014.07
7.0.250.0880.00813.96
7.0.240.0520.01013.93
7.0.230.0520.00414.09
7.0.220.0670.01113.91
7.0.210.0450.01013.96
7.0.200.0510.00813.96
7.0.190.0350.00914.00
7.0.180.0470.00613.93
7.0.170.0310.01013.97
7.0.160.0410.00813.88
7.0.150.0410.00513.94
7.0.140.0310.00613.97
7.0.130.0290.00914.05
7.0.120.0260.00714.05
7.0.110.0250.00913.95
7.0.100.0260.01013.98
7.0.90.0320.00813.93
7.0.80.0380.00714.06
7.0.70.0280.00913.99
7.0.60.0350.00914.05
7.0.50.0270.00814.00
7.0.40.0240.00813.93
7.0.30.0340.00413.98
7.0.20.0300.00613.92
7.0.10.0320.00514.02
7.0.00.0300.01013.98
5.6.400.0050.01915.98
5.6.390.0190.01016.01
5.6.380.0050.01915.98
5.6.370.0180.01216.01
5.6.360.0170.00716.08
5.6.350.0160.01616.03
5.6.340.0110.01115.87
5.6.330.0090.01515.49
5.6.320.0220.00215.81
5.6.310.0140.01015.80
5.6.300.0100.01014.66
5.6.290.0110.01114.72
5.6.280.0130.00914.71
5.6.270.0180.00614.92
5.6.260.0110.01014.80
5.6.250.0170.00714.61
5.6.240.0120.00914.77
5.6.230.0160.00714.68
5.6.220.0180.00414.68
5.6.210.0150.00814.84
5.6.200.0140.00814.71
5.6.190.0140.00814.76
5.6.180.0130.00814.65
5.6.170.0110.01114.74
5.6.160.0110.01114.71
5.6.150.0100.01214.71
5.6.140.0120.01014.59
5.6.130.0160.00514.63
5.6.120.0120.00914.83
5.6.110.0160.00714.57
5.6.100.0120.00914.78
5.6.90.0150.00914.57
5.6.80.0120.01014.74
5.6.70.0120.01114.56
5.6.60.0130.00814.63
5.6.50.0120.01014.69
5.6.40.0130.00914.51
5.6.30.0090.01114.72
5.6.20.0090.01214.63
5.6.10.0150.00714.64
5.6.00.0130.00714.57
5.5.380.0120.00511.00
5.5.370.0110.00611.12
5.5.360.0130.00411.16
5.5.350.0120.00610.99
5.5.340.0090.00711.06
5.5.330.0090.00711.03
5.5.320.0120.00411.06
5.5.310.0150.00211.13
5.5.300.0120.00511.01
5.5.290.0100.00611.10
5.5.280.0090.00511.01
5.5.270.0080.00810.93
5.5.260.0100.00711.09
5.5.250.0070.00911.04
5.5.240.0080.00710.93
5.5.230.0100.00811.01
5.5.220.0120.00510.95
5.5.210.0070.00711.00
5.5.200.0100.00511.09
5.5.190.0090.00511.02
5.5.180.0110.00610.92
5.5.170.0090.01114.30
5.5.160.0080.00910.98
5.5.150.0120.00310.98
5.5.140.0080.00910.90
5.5.130.0070.00810.82
5.5.120.0120.00411.05
5.5.110.0100.00510.94
5.5.100.0090.00711.07
5.5.90.0140.00110.98
5.5.80.0100.00610.83
5.5.70.0110.00511.06
5.5.60.0080.00610.98
5.5.50.0110.00410.95
5.5.40.0100.00711.09
5.5.30.0090.00711.02
5.5.20.0100.00510.89
5.5.10.0090.00711.10
5.5.00.0090.00610.97
5.4.450.0100.00610.95
5.4.440.0090.00711.13
5.4.430.0140.00210.97
5.4.420.0110.00510.93
5.4.410.0100.00611.03
5.4.400.0120.00510.84
5.4.390.0050.01111.04
5.4.380.0140.00310.95
5.4.370.0130.00410.99
5.4.360.0110.00510.94
5.4.350.0120.00410.99
5.4.340.0090.00711.07
5.4.330.0130.00310.88
5.4.320.0110.00510.88
5.4.310.0070.00910.91
5.4.300.0060.00910.87
5.4.290.0090.00610.84
5.4.280.0110.00410.82
5.4.270.0120.00410.93
5.4.260.0110.00410.91
5.4.250.0080.00810.80
5.4.240.0100.00710.94
5.4.230.0130.00410.91
5.4.220.0080.00910.79
5.4.210.0130.00410.95
5.4.200.0110.00510.92
5.4.190.0110.00410.97
5.4.180.0090.00610.96
5.4.170.0100.00610.85
5.4.160.0080.00610.84
5.4.150.0150.00010.91
5.4.140.0050.01010.95
5.4.130.0090.00510.88
5.4.120.0090.00610.87
5.4.110.0110.00510.89
5.4.100.0090.00711.05
5.4.90.0100.00510.93
5.4.80.0070.00810.84
5.4.70.0100.00710.97
5.4.60.0110.00410.92
5.4.50.0100.00410.85
5.4.40.0120.00310.96
5.4.30.0130.00310.91
5.4.20.0100.00610.95
5.4.10.0090.00611.02
5.4.00.0090.00610.89
5.3.290.0090.00510.61
5.3.280.0080.00810.41
5.3.270.0090.00510.50
5.3.260.0070.00710.42
5.3.250.0070.00910.45
5.3.240.0120.00410.41
5.3.230.0110.00510.45
5.3.220.0100.00410.27
5.3.210.0090.00710.21
5.3.200.0080.00610.31
5.3.190.0110.00410.25
5.3.180.0100.00410.48
5.3.170.0100.00610.51
5.3.160.0100.00510.47
5.3.150.0110.00510.38
5.3.140.0100.00410.39
5.3.130.0090.00410.49
5.3.120.0100.00510.46
5.3.110.0090.00610.32
5.3.100.0100.00510.42
5.3.90.0070.00810.31
5.3.80.0100.00510.23
5.3.70.0120.00310.29
5.3.60.0100.00710.36
5.3.50.0130.00210.19
5.3.40.0130.00310.15
5.3.30.0100.00410.18
5.3.20.0070.00710.26
5.3.10.0060.0089.99
5.3.00.0060.00710.05
5.2.170.0060.0079.50
5.2.160.0070.0059.47
5.2.150.0120.0019.57
5.2.140.0070.0059.34
5.2.130.0050.0089.30
5.2.120.0060.0069.29
5.2.110.0070.0059.34
5.2.100.0100.0039.38
5.2.90.0070.0059.38
5.2.80.0110.0029.30
5.2.70.0070.0059.32
5.2.60.0090.0039.29
5.2.50.0100.0039.27
5.2.40.0060.0069.26
5.2.30.0110.0039.31
5.2.20.0050.0069.25
5.2.10.0070.0049.16
5.2.00.0060.0049.21
5.1.60.0050.0058.99
5.1.50.0040.0068.99
5.1.40.0070.0058.99
5.1.30.0070.0038.99
5.1.20.0060.0058.99
5.1.10.0080.0028.99
5.1.00.0080.0038.99
5.0.50.0040.0068.99
5.0.40.0060.0048.99
5.0.30.0050.0058.99
5.0.20.0070.0038.99
5.0.10.0030.0068.99
5.0.00.0060.0038.99
4.4.90.0050.0038.99
4.4.80.0030.0068.99
4.4.70.0020.0068.99
4.4.60.0050.0028.99
4.4.50.0030.0048.99
4.4.40.0040.0048.99
4.4.30.0030.0048.99
4.4.20.0070.0018.99
4.4.10.0060.0018.99
4.4.00.0030.0048.99
4.3.110.0030.0048.99
4.3.100.0030.0068.99
4.3.90.0050.0048.99
4.3.80.0030.0048.99
4.3.70.0040.0048.99
4.3.60.0050.0038.99
4.3.50.0040.0038.99
4.3.40.0030.0058.99
4.3.30.0040.0038.99
4.3.20.0060.0048.99
4.3.10.0050.0078.99
4.3.00.0030.0078.99