3v4l.org

run code in 300+ PHP versions simultaneously
<?php $RESTRICTED_PROPERTIES = array( "bagel" => 'Awaiting for Confirmation', "dog" => 'Asssigned', "poodle" => 'In Progress', "weiner" => 'Completed', "cuttlefish" => 'Mark As Spam', ); $properties = array("bagel","dog"); foreach ($properties as $property) { unset($RESTRICTED_PROPERTIES[$property]); } var_dump($RESTRICTED_PROPERTIES); ?>

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.40.0170.00318.67
8.3.30.0110.00418.77
8.3.20.0000.00720.35
8.3.10.0040.00423.47
8.3.00.0050.00320.93
8.2.170.0070.01422.96
8.2.160.0070.00720.57
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00320.45
8.2.110.0040.00422.07
8.2.100.0090.00317.98
8.2.90.0050.00319.17
8.2.80.0030.00618.03
8.2.70.0030.00617.75
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0060.00318.28
8.2.30.0000.00717.98
8.2.20.0040.00417.70
8.2.10.0000.00817.66
8.2.00.0050.00317.73
8.1.270.0000.00823.96
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0080.00023.98
8.1.230.0070.00419.14
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0040.00417.29
8.1.180.0030.00618.10
8.1.170.0030.00618.48
8.1.160.0040.00422.04
8.1.150.0070.00018.63
8.1.140.0040.00417.43
8.1.130.0030.00317.82
8.1.120.0070.00017.47
8.1.110.0040.00417.48
8.1.100.0070.00017.38
8.1.90.0020.00517.44
8.1.80.0000.00717.47
8.1.70.0000.00817.43
8.1.60.0030.00617.55
8.1.50.0000.00817.41
8.1.40.0030.00617.51
8.1.30.0000.00817.60
8.1.20.0040.00417.62
8.1.10.0030.00517.42
8.1.00.0030.00517.40
8.0.300.0070.00018.77
8.0.290.0030.00316.93
8.0.280.0070.00018.35
8.0.270.0000.00817.25
8.0.260.0040.00416.82
8.0.250.0000.00616.99
8.0.240.0000.00716.83
8.0.230.0000.00716.98
8.0.220.0000.00716.91
8.0.210.0070.00016.88
8.0.200.0030.00316.84
8.0.190.0040.00416.93
8.0.180.0040.00416.86
8.0.170.0040.00416.94
8.0.160.0040.00416.87
8.0.150.0040.00416.85
8.0.140.0000.00716.75
8.0.130.0030.00313.30
8.0.120.0040.00416.74
8.0.110.0040.00416.89
8.0.100.0040.00416.77
8.0.90.0000.00716.87
8.0.80.0040.01116.95
8.0.70.0000.00816.76
8.0.60.0050.00316.79
8.0.50.0000.00716.86
8.0.30.0090.00917.00
8.0.20.0110.00817.40
8.0.10.0030.00516.84
8.0.00.0110.00916.88
7.4.330.0060.00015.00
7.4.320.0030.00316.48
7.4.300.0030.00316.60
7.4.290.0070.00016.56
7.4.280.0000.00716.62
7.4.270.0030.00316.52
7.4.260.0030.00416.53
7.4.250.0070.00016.55
7.4.240.0060.00216.54
7.4.230.0000.00716.53
7.4.220.0080.01116.36
7.4.210.0060.01016.52
7.4.200.0030.00316.71
7.4.190.0030.00316.68
7.4.160.0000.01516.28
7.4.150.0160.01617.40
7.4.140.0090.01317.86
7.4.130.0090.00816.63
7.4.120.0120.00716.43
7.4.110.0140.00316.61
7.4.100.0030.01716.37
7.4.90.0120.00616.48
7.4.80.0140.00719.39
7.4.70.0090.00616.27
7.4.60.0140.00616.63
7.4.50.0050.00016.55
7.4.40.0100.00722.77
7.4.30.0060.01216.65
7.4.00.0030.01015.02
7.3.330.0000.00513.10
7.3.320.0020.00213.05
7.3.310.0070.00016.09
7.3.300.0070.00016.16
7.3.290.0030.01016.21
7.3.280.0100.00716.28
7.3.270.0120.00817.40
7.3.260.0170.00716.41
7.3.250.0090.00816.58
7.3.240.0060.01316.59
7.3.230.0090.00816.39
7.3.210.0140.00316.49
7.3.200.0070.01016.55
7.3.190.0100.01316.23
7.3.180.0060.01016.47
7.3.170.0160.00016.44
7.3.160.0110.01116.19
7.3.120.0070.00714.75
7.2.330.0070.01016.43
7.2.320.0030.01416.43
7.2.310.0130.01016.45
7.2.300.0080.01216.72
7.2.290.0070.01016.42
7.2.00.0040.01119.18
7.1.100.0000.01317.71
7.1.70.0090.00616.93
7.1.60.0140.00719.29
7.1.50.0120.01216.90
7.1.00.0000.08022.36
7.0.200.0000.01016.86
7.0.140.0030.07322.12
7.0.100.0030.04720.00
7.0.90.0030.04719.93
7.0.80.0030.06719.86
7.0.70.0070.05019.90
7.0.60.0300.06720.03
7.0.50.0130.03320.29
7.0.40.0000.05320.04
7.0.30.0070.04020.04
7.0.20.0030.04320.11
7.0.10.0030.04320.07
7.0.00.0070.07320.03
5.6.280.0100.06721.09
5.6.250.0100.06320.59
5.6.240.0070.04020.69
5.6.230.0100.05320.68
5.6.220.0170.04020.60
5.6.210.0130.06720.67
5.6.200.0000.04720.99
5.6.190.0030.04720.95
5.6.180.0030.05021.00
5.6.170.0070.04020.96
5.6.160.0070.06720.90
5.6.150.0130.06320.94
5.6.140.0130.05321.04
5.6.130.0070.08020.95
5.6.120.0030.07321.09
5.6.110.0070.04021.02
5.6.100.0070.04321.11
5.6.90.0070.06020.97
5.6.80.0030.04320.36
5.6.70.0030.04320.42
5.6.60.0030.04320.42
5.6.50.0070.03720.33
5.6.40.0030.08320.48
5.6.30.0070.05020.32
5.6.20.0000.04320.30
5.6.10.0070.03720.38
5.6.00.0000.04720.27
5.5.380.0100.04320.56
5.5.370.0070.04320.37
5.5.360.0030.04720.34
5.5.350.0100.06020.36
5.5.340.0070.04320.91
5.5.330.0170.03320.83
5.5.320.0100.04020.79
5.5.310.0030.05320.75
5.5.300.0100.03720.79
5.5.290.0070.05020.86
5.5.280.0070.04720.77
5.5.270.0100.07720.88
5.5.260.0000.04720.89
5.5.250.0070.08020.57
5.5.240.0070.04320.17
5.5.230.0100.03320.15
5.5.220.0070.04320.27
5.5.210.0030.08020.20
5.5.200.0030.04320.27
5.5.190.0030.05020.25
5.5.180.0100.04320.18
5.5.160.0030.04020.19
5.5.150.0100.04720.11
5.5.140.0030.06320.08
5.5.130.0070.04019.98
5.5.120.0030.04720.10
5.5.110.0030.04020.26
5.5.100.0030.04020.14
5.5.90.0070.03720.09
5.5.80.0070.03720.04
5.5.70.0100.04320.11
5.5.60.0100.03720.00
5.5.50.0100.05320.03
5.5.40.0030.05020.11
5.5.30.0030.04020.13
5.5.20.0000.04319.90
5.5.10.0000.05719.98
5.5.00.0000.04319.99
5.4.450.0030.04319.47
5.4.440.0130.05019.38
5.4.430.0030.05019.29
5.4.420.0030.07019.30
5.4.410.0130.03319.01
5.4.400.0070.04319.07
5.4.390.0030.04019.14
5.4.380.0000.04018.98
5.4.370.0000.04719.10
5.4.360.0000.04718.75
5.4.350.0070.04019.03
5.4.340.0100.04718.79
5.4.320.0100.03318.94
5.4.310.0070.04018.95
5.4.300.0000.04719.11
5.4.290.0030.04319.05
5.4.280.0100.05019.04
5.4.270.0000.04019.07
5.4.260.0030.03718.96
5.4.250.0070.03719.09
5.4.240.0000.04018.96
5.4.230.0130.06719.14
5.4.220.0000.04319.02
5.4.210.0030.04018.89
5.4.200.0100.06019.09
5.4.190.0130.03318.95
5.4.180.0030.03719.13
5.4.170.0000.04019.11
5.4.160.0000.03719.21
5.4.150.0000.07718.88
5.4.140.0100.05316.35
5.4.130.0030.03716.36
5.4.120.0000.06716.34
5.4.110.0070.03716.23
5.4.100.0100.05716.30
5.4.90.0030.05716.42
5.4.80.0100.07016.28
5.4.70.0070.06016.26
5.4.60.0030.06716.41
5.4.50.0030.04016.19
5.4.40.0030.03716.43
5.4.30.0070.04716.19
5.4.20.0070.03316.39
5.4.10.0070.04016.41
5.4.00.0070.07015.70
5.3.290.0070.03314.61
5.3.280.0070.03714.58
5.3.270.0000.04314.51
5.3.260.0070.06014.58
5.3.250.0000.04314.45
5.3.240.0000.05014.62
5.3.230.0070.04314.45
5.3.220.0070.05314.52
5.3.210.0030.04014.43
5.3.200.0130.06014.54
5.3.190.0100.05714.53
5.3.180.0030.07014.50
5.3.170.0100.06314.41
5.3.160.0000.05714.42
5.3.150.0070.05714.55
5.3.140.0100.03314.43
5.3.130.0030.07314.41
5.3.120.0030.04314.41
5.3.110.0100.05014.37
5.3.100.0100.06314.02
5.3.90.0100.05714.00
5.3.80.0000.04013.99
5.3.70.0130.04713.99
5.3.60.0030.03713.96
5.3.50.0030.03713.71
5.3.40.0000.05013.90
5.3.30.0000.05313.86
5.3.20.0030.03313.66
5.3.10.0030.04013.61
5.3.00.0030.03713.57
5.2.170.0000.03310.93
5.2.160.0030.03711.10
5.2.150.0000.06311.13
5.2.140.0000.03010.97
5.2.130.0030.03011.10
5.2.120.0000.03010.93
5.2.110.0000.03311.12
5.2.100.0030.05011.13
5.2.90.0030.02710.89
5.2.80.0000.03711.01
5.2.70.0000.03310.91
5.2.60.0030.03311.04
5.2.50.0070.02711.06
5.2.40.0000.04010.83
5.2.30.0170.03310.84
5.2.20.0070.03011.01
5.2.10.0000.05010.86
5.2.00.0030.02710.61
5.1.60.0000.03010.02
5.1.50.0030.0279.79
5.1.40.0000.02710.00
5.1.30.0030.03010.26
5.1.20.0070.02010.25
5.1.10.0030.05010.05
5.1.00.0030.0239.91
5.0.50.0000.0309.58
5.0.40.0030.0339.58
5.0.30.0030.0439.58
5.0.20.0000.0279.58
5.0.10.0030.0379.58
5.0.00.0030.0479.58
4.4.90.0000.0309.58
4.4.80.0030.0239.58
4.4.70.0000.0209.58
4.4.60.0030.0209.58
4.4.50.0000.0209.58
4.4.40.0000.0239.58
4.4.30.0030.0139.58
4.4.20.0000.0179.58
4.4.10.0030.0139.58
4.4.00.0030.0339.58
4.3.110.0000.0309.58
4.3.100.0030.0209.58
4.3.90.0000.0279.58
4.3.80.0000.0379.58
4.3.70.0000.0309.58
4.3.60.0000.0309.58
4.3.50.0030.0239.58
4.3.40.0030.0279.58
4.3.30.0030.0209.58
4.3.20.0000.0209.58
4.3.10.0000.0279.58
4.3.00.0000.0179.58

preferences:
46.95 ms | 400 KiB | 5 Q