3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST["some_key"] = "some_value"; $m=['GET'=>$_GET,'POST'=>$_POST]; foreach($m as$k=>$v){ echo count($v)? $k.' was requested.':null; } ?>

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.3.130.0130.00616.71
8.3.120.0060.00320.75
8.3.110.0060.00320.94
8.3.100.0110.00716.53
8.3.90.0030.00626.77
8.3.80.0030.00618.40
8.3.70.0070.01016.58
8.3.60.0070.01416.50
8.3.50.0070.01117.31
8.3.40.0040.01118.97
8.3.30.0070.00718.80
8.3.20.0040.00420.34
8.3.10.0090.00022.09
8.3.00.0040.00423.48
8.2.250.0030.00516.90
8.2.240.0060.00319.14
8.2.230.0060.00322.58
8.2.220.0000.00924.06
8.2.210.0000.00826.77
8.2.200.0030.00616.63
8.2.190.0070.01118.16
8.2.180.0000.01425.92
8.2.170.0000.01522.96
8.2.160.0140.00020.52
8.2.150.0090.00024.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0000.00821.00
8.2.110.0060.00319.26
8.2.100.0080.00419.34
8.2.90.0040.00417.84
8.2.80.0000.00817.97
8.2.70.0030.00917.93
8.2.60.0080.00018.34
8.2.50.0080.00018.10
8.2.40.0040.00419.30
8.2.30.0050.00219.37
8.2.20.0000.00718.18
8.2.10.0050.00318.23
8.2.00.0020.00518.04
8.1.300.0160.00319.57
8.1.290.0090.00030.84
8.1.280.0100.00325.92
8.1.270.0060.00320.88
8.1.260.0040.00426.35
8.1.250.0100.00328.09
8.1.240.0000.01019.32
8.1.230.0040.00721.00
8.1.220.0030.00617.78
8.1.210.0040.00418.77
8.1.200.0060.00617.13
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0050.00318.46
8.1.160.0000.00818.80
8.1.150.0000.00720.09
8.1.140.0030.00520.86
8.1.130.0070.00017.36
8.1.120.0070.00017.48
8.1.110.0060.00317.36
8.1.100.0050.00317.44
8.1.90.0040.00317.52
8.1.80.0000.00717.45
8.1.70.0030.00617.46
8.1.60.0070.00317.49
8.1.50.0060.00317.53
8.1.40.0040.00417.52
8.1.30.0030.00617.52
8.1.20.0000.00817.66
8.1.10.0070.00017.62
8.1.00.0040.00417.57
8.0.300.0050.00320.14
8.0.290.0040.00416.63
8.0.280.0000.00718.36
8.0.270.0050.00316.81
8.0.260.0070.00016.86
8.0.250.0030.00317.02
8.0.240.0060.00316.82
8.0.230.0000.00716.84
8.0.220.0000.00616.80
8.0.210.0030.00316.96
8.0.200.0030.00316.80
8.0.190.0000.00816.95
8.0.180.0100.00016.88
8.0.170.0040.00416.93
8.0.160.0000.00716.85
8.0.150.0040.00416.85
8.0.140.0000.00716.86
8.0.130.0030.00313.36
8.0.120.0020.00516.82
8.0.110.0000.00716.76
8.0.100.0070.00016.91
8.0.90.0040.00416.78
8.0.80.0060.00916.86
8.0.70.0040.00416.92
8.0.60.0050.00216.95
8.0.50.0070.00016.92
8.0.30.0090.01116.97
8.0.20.0130.00817.40
8.0.10.0140.01317.04
8.0.00.0110.01017.05
7.4.330.0000.00415.55
7.4.320.0000.00716.58
7.4.300.0030.00316.55
7.4.290.0030.00316.46
7.4.280.0030.00616.38
7.4.270.0030.00316.63
7.4.260.0040.00416.51
7.4.250.0000.00716.58
7.4.240.0050.00316.57
7.4.230.0000.00716.61
7.4.220.0140.01016.53
7.4.210.0130.00716.57
7.4.200.0070.00016.70
7.4.160.0080.00816.50
7.4.150.0070.01017.40
7.4.140.0120.00917.41
7.4.130.0150.00716.47
7.4.120.0090.01116.40
7.4.110.0120.00716.58
7.4.100.0070.01216.37
7.4.90.0080.01616.43
7.4.80.0100.01217.17
7.4.70.0100.01116.43
7.4.60.0100.01016.37
7.4.50.0120.00616.44
7.4.40.0120.00716.44
7.4.30.0120.00616.36
7.4.20.0110.01016.44
7.4.10.0130.00816.38
7.4.00.0080.00915.99
7.3.330.0020.00213.22
7.3.320.0000.00513.08
7.3.310.0040.00416.47
7.3.300.0040.00316.23
7.3.290.0050.01116.37
7.3.280.0070.01016.30
7.3.270.0120.00917.40
7.3.260.0100.00916.36
7.3.250.0090.00916.38
7.3.240.0090.00916.46
7.3.230.0080.01016.42
7.3.220.0150.00516.44
7.3.210.0140.01016.44
7.3.200.0100.01216.44
7.3.190.0110.00916.44
7.3.180.0120.01016.42
7.3.170.0090.01116.31
7.3.160.0120.00816.35
7.3.150.0090.00816.38
7.3.140.0120.00716.40
7.3.130.0080.01116.29
7.3.120.0090.01016.40
7.3.110.0090.01116.36
7.3.100.0060.01416.42
7.3.90.0130.00716.46
7.3.80.0090.01015.94
7.3.70.0090.00716.02
7.3.60.0100.00715.98
7.3.50.0090.00915.60
7.3.40.0110.00915.53
7.3.30.0080.01115.54
7.3.20.0230.00715.54
7.3.10.0130.00915.46
7.3.00.0100.01015.52
7.2.340.0210.01116.72
7.2.330.0140.01316.73
7.2.320.0150.01116.59
7.2.310.0210.00616.72
7.2.300.0200.00816.55
7.2.290.0150.00616.64
7.2.280.0180.00816.52
7.2.270.0140.01116.71
7.2.260.0180.01016.69
7.2.250.0180.00816.45
7.2.240.0190.00816.52
7.2.230.0150.01116.60
7.2.220.0180.01016.52
7.2.210.0150.00616.20
7.2.200.0130.01016.27
7.2.190.0150.00916.14
7.2.180.0110.01215.77
7.2.170.0150.00915.82
7.2.160.0120.01015.72
7.2.150.0150.01015.90
7.2.140.0140.00915.85
7.2.130.0200.00815.83
7.2.120.0140.01015.85
7.2.110.0170.00715.81
7.2.100.0170.00515.77
7.2.90.0160.00915.70
7.2.80.0180.01215.62
7.2.70.0210.01115.79
7.2.60.0160.01215.81
7.2.50.0200.00815.77
7.2.40.0320.01216.04
7.2.30.0440.00916.04
7.2.20.0330.01015.98
7.2.10.0350.01115.96
7.2.00.0400.00815.99
7.1.330.0140.00815.65
7.1.320.0130.00915.46
7.1.310.0160.00815.14
7.1.300.0110.01215.10
7.1.290.0130.01015.18
7.1.280.0150.00914.64
7.1.270.0140.00914.71
7.1.260.0290.00614.72
7.1.250.0150.01014.73
7.1.240.0190.01014.64
7.1.230.0150.00914.63
7.1.220.0170.00514.64
7.1.210.0170.00914.53
7.1.200.0130.00814.89
7.1.190.0190.00814.44
7.1.180.0170.00814.58
7.1.170.0500.00814.49
7.1.160.0380.00714.78
7.1.150.0390.00914.89
7.1.140.0370.00914.79
7.1.130.0340.01014.84
7.1.120.0390.01014.84
7.1.110.0340.00914.83
7.1.100.0390.00814.93
7.1.90.0520.00814.88
7.1.80.0380.01014.94
7.1.70.0240.00814.76
7.1.60.0350.00720.71
7.1.50.0790.01020.61
7.1.40.0790.00620.64
7.1.30.0740.01020.56
7.1.20.0760.00920.62
7.1.10.0650.00714.56
7.1.00.0730.00814.67
7.0.330.0180.00814.24
7.0.320.0120.01014.19
7.0.310.0180.00914.16
7.0.300.0190.00814.23
7.0.290.0460.00714.47
7.0.280.0150.00814.25
7.0.270.0370.00814.44
7.0.260.0400.00614.44
7.0.250.0420.00814.60
7.0.240.0300.00914.63
7.0.230.0420.00914.66
7.0.220.0460.00614.60
7.0.210.0390.00514.38
7.0.200.0660.00614.41
7.0.190.0770.00914.34
7.0.180.0680.00914.26
7.0.170.0940.00814.32
7.0.160.0930.00814.29
7.0.150.0530.00814.26
7.0.140.0590.00714.30
7.0.130.0720.00814.39
7.0.120.0720.00914.38
7.0.110.0750.01014.32
7.0.100.0760.00814.28
7.0.90.0760.00814.34
7.0.80.0720.01014.23
7.0.70.0760.00614.27
7.0.60.0720.01014.20
7.0.50.0900.00714.36
7.0.40.0820.00914.33
7.0.30.0840.00814.39
7.0.20.0720.00714.32
7.0.10.0730.01214.38
7.0.00.0800.00814.33
5.6.400.0150.00914.94
5.6.390.0130.00915.10
5.6.380.0130.00815.13
5.6.370.0120.01115.29
5.6.360.0130.01315.19
5.6.350.0140.01015.34
5.6.340.0180.00715.29
5.6.330.0150.01015.37
5.6.320.0180.00815.32
5.6.310.0150.01215.27
5.6.300.0140.02216.60
5.6.290.0160.02216.62
5.6.280.0180.02116.62
5.6.270.0160.02016.57
5.6.260.0130.02216.61
5.6.250.0170.02216.57
5.6.240.0170.02416.65
5.6.230.0170.02216.61
5.6.220.0150.02416.61
5.6.210.0150.02416.55
5.6.200.0140.02316.67
5.6.190.0140.02216.59
5.6.180.0170.02216.54
5.6.170.0160.02316.53
5.6.160.0140.02416.58
5.6.150.0170.02016.52
5.6.140.0170.02316.63
5.6.130.0170.02216.58
5.6.120.0150.02816.64
5.6.110.0150.02516.58
5.6.100.0150.02516.58
5.6.90.0130.02516.60
5.6.80.0130.02216.40
5.6.70.0140.02416.40
5.6.60.0120.02516.32
5.6.50.0170.01916.32
5.6.40.0150.02016.35
5.6.30.0170.01916.45
5.6.20.0170.01916.37
5.6.10.0120.02216.37
5.6.00.0150.02016.41
5.5.380.0170.01515.01
5.5.370.0170.01715.01
5.5.360.0160.01615.00
5.5.350.0160.01614.99
5.5.340.0140.01815.02
5.5.330.0160.01615.18
5.5.320.0160.01715.06
5.5.310.0150.01815.09
5.5.300.0130.01915.12
5.5.290.0150.01815.07
5.5.280.0140.02015.10
5.5.270.0140.01615.19
5.5.260.0130.01615.01
5.5.250.0130.01614.88
5.5.240.0120.01814.89
5.5.230.0170.01414.87
5.5.220.0150.01614.88
5.5.210.0140.01614.93
5.5.200.0180.01314.92
5.5.190.0130.01514.92
5.5.180.0160.01414.85
5.5.170.0150.00915.20
5.5.160.0160.01515.00
5.5.150.0140.01414.92
5.5.140.0150.01614.80
5.5.130.0140.01414.95
5.5.120.0130.01714.96
5.5.110.0160.01414.96
5.5.100.0120.01815.01
5.5.90.0150.01514.92
5.5.80.0150.01414.95
5.5.70.0160.01514.84
5.5.60.0150.01714.87
5.5.50.0130.01514.83
5.5.40.0180.01514.95
5.5.30.0150.01614.93
5.5.20.0130.01714.95
5.5.10.0190.01314.77
5.5.00.0150.01514.84
5.4.450.0160.01213.09
5.4.440.0120.01613.10
5.4.430.0110.01513.00
5.4.420.0100.01812.99
5.4.410.0140.01113.06
5.4.400.0150.01112.96
5.4.390.0110.01512.93
5.4.380.0120.01412.91
5.4.370.0120.01313.02
5.4.360.0070.01612.85
5.4.350.0100.01512.93
5.4.340.0140.01213.01
5.4.330.0100.00912.24
5.4.320.0150.01212.91
5.4.310.0120.01312.92
5.4.300.0130.01312.93
5.4.290.0130.01212.96
5.4.280.0140.01112.89
5.4.270.0140.01112.92
5.4.260.0110.01212.93
5.4.250.0120.01212.94
5.4.240.0130.01412.91
5.4.230.0110.01512.97
5.4.220.0110.01412.92
5.4.210.0120.01312.90
5.4.200.0160.01212.95
5.4.190.0150.01212.89
5.4.180.0130.01212.96
5.4.170.0120.01313.01
5.4.160.0120.01212.92
5.4.150.0110.01512.94
5.4.140.0110.01412.59
5.4.130.0140.01212.66
5.4.120.0100.01412.70
5.4.110.0120.01312.57
5.4.100.0120.01212.62
5.4.90.0120.01112.62
5.4.80.0110.01212.63
5.4.70.0110.01212.65
5.4.60.0110.01412.60
5.4.50.0120.01212.67
5.4.40.0090.01412.64
5.4.30.0130.01412.60
5.4.20.0110.01212.64
5.4.10.0090.01612.58
5.4.00.0150.01312.49
5.3.290.0100.01512.15
5.3.280.0110.01412.07
5.3.270.0130.01412.17
5.3.260.0100.01612.12
5.3.250.0130.01212.13
5.3.240.0130.01111.99
5.3.230.0110.01412.07
5.3.220.0100.01412.05
5.3.210.0130.01212.07
5.3.200.0120.01212.10
5.3.190.0130.01112.12
5.3.180.0120.01312.17
5.3.170.0120.01312.24
5.3.160.0130.01212.21
5.3.150.0110.01412.24
5.3.140.0110.01312.05
5.3.130.0140.01012.21
5.3.120.0110.01612.15
5.3.110.0110.01312.13
5.3.100.0110.01712.06
5.3.90.0100.01812.07
5.3.80.0120.01412.06
5.3.70.0130.01312.04
5.3.60.0110.01512.11
5.3.50.0140.01012.03
5.3.40.0100.01612.03
5.3.30.0140.01412.02
5.3.20.0100.01311.95
5.3.10.0100.01511.87
5.3.00.0130.01311.85
5.2.170.0110.01011.05
5.2.160.0110.01110.98
5.2.150.0090.01210.92
5.2.140.0080.01510.99
5.2.130.0110.01010.97
5.2.120.0120.01010.96
5.2.110.0110.01011.00
5.2.100.0110.01110.97
5.2.90.0090.01210.95
5.2.80.0080.01310.91
5.2.70.0100.01210.98
5.2.60.0080.01210.88
5.2.50.0080.01210.98
5.2.40.0080.01110.94
5.2.30.0120.00910.94
5.2.20.0100.01010.88
5.2.10.0100.00910.86
5.2.00.0100.01010.81
5.1.60.0090.01210.65
5.1.50.0050.01310.64
5.1.40.0060.01210.68
5.1.30.0080.00910.68
5.1.20.0080.01110.69
5.1.10.0080.01010.64
5.1.00.0090.00910.67
5.0.50.0060.00810.36
5.0.40.0080.00710.34
5.0.30.0090.00710.34
5.0.20.0060.00810.34
5.0.10.0080.00710.34
5.0.00.0080.01010.34
4.4.90.0030.00810.34
4.4.80.0050.00810.34
4.4.70.0050.00610.34
4.4.60.0040.00610.34
4.4.50.0030.00710.34
4.4.40.0060.00710.34
4.4.30.0050.00610.34
4.4.20.0040.00710.34
4.4.10.0040.00710.34
4.4.00.0050.00810.34
4.3.110.0050.00610.34
4.3.100.0050.00610.34
4.3.90.0050.00610.34
4.3.80.0050.00810.34
4.3.70.0050.00510.34
4.3.60.0050.00610.34
4.3.50.0050.00610.34
4.3.40.0030.00910.34
4.3.30.0050.00510.34
4.3.20.0060.00410.34
4.3.10.0040.00610.34
4.3.00.0030.00710.34

preferences:
67.03 ms | 403 KiB | 5 Q