3v4l.org

run code in 300+ PHP versions simultaneously
<?php // https://bugs.php.net/bug.php?id=44936 $ini_all = ini_get_all(); var_dump( $ini_all[ 'memory_limit' ]['access'] ); ini_set( 'memory_limit', '30M' ); $ini_all = ini_get_all(); var_dump( $ini_all[ 'memory_limit' ]['access'] );

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)
8.4.20.0100.00617.84
8.4.10.0040.01217.91
8.3.150.0070.01118.53
8.3.140.0090.00617.45
8.3.130.0030.01216.69
8.3.120.0030.00618.64
8.3.110.0000.00816.75
8.3.100.0040.00424.06
8.3.90.0060.00926.77
8.3.80.0100.00016.63
8.3.70.0100.00618.18
8.3.60.0140.00316.50
8.3.50.0130.00622.15
8.3.40.0140.00018.92
8.3.30.0110.00418.82
8.3.20.0120.00020.41
8.3.10.0040.00422.07
8.3.00.0100.00019.00
8.2.260.0030.00616.90
8.2.250.0000.00816.84
8.2.240.0130.00317.36
8.2.230.0080.00320.94
8.2.220.0060.00337.54
8.2.210.0060.00326.77
8.2.200.0060.00316.88
8.2.190.0070.00716.75
8.2.180.0040.01416.63
8.2.170.0150.00022.96
8.2.160.0000.01419.33
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00019.79
8.2.110.0060.00321.11
8.2.100.0060.00617.93
8.2.90.0030.00518.41
8.2.80.0000.00818.46
8.2.70.0050.00317.88
8.2.60.0000.00817.75
8.2.50.0050.00317.62
8.2.40.0080.00019.24
8.2.30.0040.00419.43
8.2.20.0080.00017.91
8.2.10.0050.00318.33
8.2.00.0040.00418.32
8.1.310.0040.00718.48
8.1.300.0030.00618.61
8.1.290.0060.00318.88
8.1.280.0100.01325.92
8.1.270.0050.00323.79
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0090.00022.48
8.1.230.0040.00822.68
8.1.220.0030.00518.01
8.1.210.0000.00818.91
8.1.200.0030.00517.35
8.1.190.0040.00417.36
8.1.180.0000.00818.10
8.1.170.0000.00719.08
8.1.160.0000.00723.80
8.1.150.0040.00419.06
8.1.140.0000.00719.65
8.1.130.0000.00717.61
8.1.120.0040.00417.61
8.1.110.0050.00317.54
8.1.100.0040.00417.61
8.1.90.0030.00517.49
8.1.80.0000.00717.52
8.1.70.0030.00617.61
8.1.60.0030.00517.75
8.1.50.0000.00917.70
8.1.40.0000.00817.66
8.1.30.0050.00317.78
8.1.20.0040.00417.80
8.1.10.0040.00417.75
8.1.00.0000.00817.70
8.0.300.0040.00420.10
8.0.290.0040.00416.88
8.0.280.0050.00318.65
8.0.270.0040.00417.02
8.0.260.0070.00017.03
8.0.250.0030.00317.14
8.0.240.0050.00317.14
8.0.230.0000.00817.08
8.0.220.0040.00416.89
8.0.210.0040.00416.93
8.0.200.0030.00317.10
8.0.190.0050.00317.07
8.0.180.0000.00717.05
8.0.170.0050.00317.12
8.0.160.0080.00017.13
8.0.150.0040.00416.96
8.0.140.0060.00317.07
8.0.130.0060.00013.39
8.0.120.0040.00417.05
8.0.110.0000.00717.01
8.0.100.0000.00716.89
8.0.90.0050.00216.93
8.0.80.0100.00717.09
8.0.70.0040.00416.95
8.0.60.0000.00716.82
8.0.50.0030.00516.91
8.0.30.0120.00617.38
8.0.20.0090.00917.40
8.0.10.0000.00817.04
8.0.00.0060.01216.91
7.4.330.0050.00015.08
7.4.320.0060.00016.73
7.4.300.0060.00016.66
7.4.290.0000.00816.66
7.4.280.0100.00016.72
7.4.270.0040.00416.64
7.4.260.0040.00416.59
7.4.250.0040.00416.70
7.4.240.0030.00316.59
7.4.230.0040.00416.83
7.4.220.0080.01116.70
7.4.210.0040.01116.75
7.4.200.0040.00416.68
7.4.160.0080.00816.67
7.4.150.0160.00417.40
7.4.140.0060.01117.86
7.4.130.0130.00616.56
7.4.120.0100.00716.58
7.4.110.0170.00016.59
7.4.100.0090.00916.78
7.4.90.0080.00816.48
7.4.80.0100.00719.39
7.4.70.0220.01316.87
7.4.60.0110.00716.56
7.4.50.0100.00316.38
7.4.40.0030.01316.64
7.4.30.0030.01316.64
7.4.00.0060.01115.22
7.3.330.0050.00013.23
7.3.320.0030.00313.25
7.3.310.0000.00716.44
7.3.300.0040.00416.49
7.3.290.0040.01116.43
7.3.280.0100.01016.49
7.3.270.0030.01517.40
7.3.260.0090.01016.68
7.3.250.0080.00916.51
7.3.240.0100.01016.59
7.3.230.0060.01216.45
7.3.210.0090.00916.52
7.3.200.0130.00316.46
7.3.190.0120.00416.62
7.3.180.0090.00916.37
7.3.170.0110.01516.33
7.3.160.0030.01416.73
7.3.120.0090.00614.93
7.3.110.0070.01214.94
7.3.100.0030.00914.67
7.3.90.0050.01214.96
7.3.80.0040.01114.97
7.3.70.0020.01314.86
7.3.60.0080.00314.99
7.3.50.0030.01114.71
7.3.40.0050.01214.65
7.3.30.0040.01014.94
7.3.20.0020.01316.56
7.3.10.0050.00816.62
7.3.00.0010.01116.59
7.2.330.0070.01716.48
7.2.320.0070.01116.69
7.2.310.0100.00716.81
7.2.300.0030.01316.45
7.2.290.0130.00316.66
7.2.250.0100.00815.17
7.2.240.0070.01314.93
7.2.230.0090.00814.93
7.2.220.0090.00915.35
7.2.210.0040.01015.37
7.2.200.0050.00815.09
7.2.190.0070.00715.18
7.2.180.0110.00515.00
7.2.170.0020.01215.14
7.2.130.0030.00616.76
7.2.120.0030.00916.79
7.2.110.0080.00516.75
7.2.100.0040.00716.80
7.2.90.0030.00916.75
7.2.80.0000.01716.67
7.2.70.0080.00616.69
7.2.60.0060.01016.75
7.2.50.0040.00716.98
7.2.40.0120.00316.58
7.2.30.0000.01016.67
7.2.20.0030.00916.95
7.2.10.0060.00616.79
7.2.00.0070.00917.86
7.1.330.0080.00515.47
7.1.320.0030.00915.85
7.1.310.0080.00815.50
7.1.300.0080.00815.74
7.1.290.0060.00915.57
7.1.280.0040.00715.61
7.1.270.0010.01015.64
7.1.260.0090.00615.72
7.1.250.0030.00815.60
7.1.200.0070.00715.47
7.1.70.0040.00417.18
7.1.60.0070.00319.29
7.1.00.0100.07022.30
7.0.200.0700.00314.58
7.0.80.0170.06720.14
7.0.70.0170.05320.14
7.0.60.0100.06020.17
7.0.50.0070.06320.61
7.0.40.0000.07020.50
7.0.30.0170.05720.61
7.0.20.0130.05720.55
7.0.10.0070.06020.50
7.0.00.0100.06020.43
5.6.230.0170.05320.79
5.6.220.0100.06720.96
5.6.210.0070.06721.03
5.6.200.0200.05321.31
5.6.190.0100.06021.34
5.6.180.0130.05721.34
5.6.170.0070.06021.48
5.6.160.0130.06021.36
5.6.150.0130.05721.29
5.6.140.0100.06021.27
5.6.130.0170.05721.45
5.6.120.0100.06321.35
5.6.110.0100.06021.34
5.6.100.0100.06721.40
5.6.90.0070.06721.46
5.6.80.0100.05720.75
5.6.70.0230.04320.80
5.6.60.0070.05720.70
5.6.50.0030.06320.71
5.6.40.0070.06020.73
5.6.30.0130.05320.71
5.6.20.0100.07320.68
5.6.10.0100.05720.70
5.6.00.0170.05020.80
5.5.370.0130.06020.80
5.5.360.0130.06020.84
5.5.350.0170.08020.71
5.5.340.0000.07021.01
5.5.330.0270.04021.19
5.5.320.0170.05721.20
5.5.310.0070.06321.19
5.5.300.0130.06321.11
5.5.290.0100.06021.14
5.5.280.0130.05721.14
5.5.270.0170.05721.23
5.5.260.0200.05721.23
5.5.250.0130.05720.95
5.5.240.0200.04720.62
5.5.230.0130.06020.59
5.5.220.0070.06020.54
5.5.210.0170.05020.54
5.5.200.0170.05720.55
5.5.190.0200.05020.59
5.5.180.0100.06020.58
5.5.160.0070.06020.52
5.5.150.0170.05020.49
5.5.140.0070.06020.57
5.5.130.0170.05020.57
5.5.120.0230.04320.41
5.5.110.0130.05720.57
5.5.100.0070.06020.55
5.5.90.0100.05320.43
5.5.80.0070.05720.51
5.5.70.0030.06320.46
5.5.60.0130.05720.44
5.5.50.0170.04720.42
5.5.40.0030.06020.40
5.5.30.0070.05720.45
5.5.20.0100.05720.30
5.5.10.0130.05720.37
5.5.00.0070.06020.39
5.4.450.0170.05319.41
5.4.440.0100.05719.50
5.4.430.0200.05019.44
5.4.420.0000.07019.44
5.4.410.0070.06019.23
5.4.400.0070.05718.87
5.4.390.0100.05319.18
5.4.380.0130.05019.18
5.4.370.0070.05719.12
5.4.360.0030.06019.11
5.4.350.0100.05319.09
5.4.340.0100.05719.18
5.4.320.0170.05719.16
5.4.310.0130.05019.07
5.4.300.0100.05319.01
5.4.290.0130.05319.13
5.4.280.0030.06019.17
5.4.270.0100.05319.17
5.4.260.0170.04719.08
5.4.250.0100.05319.09
5.4.240.0100.05019.17
5.4.230.0130.05019.11
5.4.220.0170.04719.12
5.4.210.0070.05319.09
5.4.200.0130.05019.19
5.4.190.0070.05718.85
5.4.180.0200.04319.02
5.4.170.0170.04319.07
5.4.160.0100.06319.09
5.4.150.0100.05319.07
5.4.140.0070.05716.49
5.4.130.0030.05716.25
5.4.120.0100.05016.35
5.4.110.0070.05716.38
5.4.100.0100.05016.50
5.4.90.0100.04716.55
5.4.80.0070.05016.46
5.4.70.0070.05016.33
5.4.60.0030.05716.45
5.4.50.0100.05016.30
5.4.40.0130.05316.53
5.4.30.0070.05316.48
5.4.20.0030.05316.52
5.4.10.0070.05316.45
5.4.00.0100.05015.77
5.3.290.0070.06014.88
5.3.280.0130.04714.66
5.3.270.0070.05714.85
5.3.260.0000.06014.80
5.3.250.0070.05314.80
5.3.240.0130.07314.85
5.3.230.0130.04714.86
5.3.220.0100.05314.81
5.3.210.0070.05714.82
5.3.200.0100.05014.73
5.3.190.0000.06014.65
5.3.180.0070.05714.80
5.3.170.0070.06314.76
5.3.160.0130.05014.63
5.3.150.0030.06014.81
5.3.140.0100.05014.66
5.3.130.0100.05014.74
5.3.120.0100.05314.75
5.3.110.0030.06014.78
5.3.100.0100.05014.26
5.3.90.0100.04714.12
5.3.80.0030.05714.27
5.3.70.0100.04714.09
5.3.60.0030.05714.18
5.3.50.0100.05014.20
5.3.40.0100.07014.14
5.3.30.0100.05014.13
5.3.20.0100.05013.89
5.3.10.0100.04713.69
5.3.00.0100.05013.71
5.2.170.0070.04311.19
5.2.160.0070.04011.32
5.2.150.0070.04311.43
5.2.140.0100.04011.38
5.2.130.0100.04011.38
5.2.120.0030.04711.40
5.2.110.0070.04311.22
5.2.100.0000.04711.13
5.2.90.0100.03711.25
5.2.80.0070.04311.29
5.2.70.0070.04011.25
5.2.60.0100.04011.21
5.2.50.0070.04311.18
5.2.40.0100.03711.19
5.2.30.0200.02711.13
5.2.20.0100.04011.13
5.2.10.0070.04011.08
5.2.00.0000.04710.95
5.1.60.0000.04010.27
5.1.50.0100.03710.26
5.1.40.0030.03710.10
5.1.30.0130.03010.48
5.1.20.0130.03010.63
5.1.10.0030.03710.25
5.1.00.0000.04010.33
5.0.50.0000.0338.84
5.0.40.0070.0278.66
5.0.30.0030.0438.51
5.0.20.0100.0208.45
5.0.10.0000.0338.48
5.0.00.0030.0438.43
4.4.90.0070.0206.05
4.4.80.0130.0136.02
4.4.70.0030.0236.00
4.4.60.0000.0276.00
4.4.50.0070.0206.04
4.4.40.0030.0406.02
4.4.30.0100.0175.99
4.4.20.0100.0136.09
4.4.10.0030.0236.08
4.4.00.0030.0376.09
4.3.110.0070.0205.97
4.3.100.0030.0205.96
4.3.90.0000.0235.92
4.3.80.0030.0336.01
4.3.70.0070.0175.94
4.3.60.0000.0235.89
4.3.50.0030.0235.94
4.3.40.0000.0375.90
4.3.30.0030.0205.55
4.3.20.0000.0235.55
4.3.10.0000.0235.55
4.3.00.0070.0175.55

preferences:
57.39 ms | 403 KiB | 5 Q