3v4l.org

run code in 300+ PHP versions simultaneously
<?php $eligible_categories = array("mens:apparel"); $list_categories = array("mens:apparel:shirts", "mens:footwear"); print_r($eligible_categories); print_r($list_categories);

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.60.0120.00316.50
8.3.50.0120.00721.87
8.3.40.0100.00718.68
8.3.30.0110.00418.97
8.3.20.0040.00420.20
8.3.10.0040.00423.65
8.3.00.0040.00419.13
8.2.180.0180.00418.04
8.2.170.0150.00022.96
8.2.160.0070.01020.51
8.2.150.0030.00524.18
8.2.140.0070.00024.66
8.2.130.0090.00926.16
8.2.120.0040.00422.15
8.2.110.0090.00319.27
8.2.100.0090.00317.66
8.2.90.0050.00319.17
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0040.00417.80
8.2.50.0060.00318.10
8.2.40.0040.00420.60
8.2.30.0040.00417.89
8.2.20.0000.00717.50
8.2.10.0000.00817.94
8.2.00.0040.00717.62
8.1.280.0150.00025.92
8.1.270.0030.00723.99
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00422.01
8.1.230.0110.00017.55
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0030.00717.35
8.1.190.0030.00517.23
8.1.180.0060.00318.10
8.1.170.0000.00918.52
8.1.160.0030.00522.23
8.1.150.0060.00318.63
8.1.140.0080.00017.34
8.1.130.0030.00317.85
8.1.120.0040.00417.42
8.1.110.0050.00317.43
8.1.100.0040.00417.29
8.1.90.0050.00217.40
8.1.80.0030.00317.30
8.1.70.0000.00717.31
8.1.60.0040.00417.57
8.1.50.0030.00517.48
8.1.40.0050.00317.45
8.1.30.0000.00817.56
8.1.20.0080.00017.58
8.1.10.0030.00517.38
8.1.00.0020.00517.38
8.0.300.0030.00318.77
8.0.290.0040.00416.63
8.0.280.0070.00018.38
8.0.270.0000.00717.23
8.0.260.0060.00017.17
8.0.250.0030.00316.73
8.0.240.0070.00016.75
8.0.230.0040.00416.76
8.0.220.0040.00416.68
8.0.210.0030.00316.82
8.0.200.0000.00716.82
8.0.190.0040.00416.85
8.0.180.0030.00516.78
8.0.170.0050.00216.85
8.0.160.0050.00316.67
8.0.150.0000.00916.79
8.0.140.0030.00316.69
8.0.130.0000.00613.29
8.0.120.0040.00416.75
8.0.110.0000.00716.83
8.0.100.0000.00716.82
8.0.90.0070.00016.86
8.0.80.0030.01416.78
8.0.70.0040.00416.85
8.0.60.0040.00416.82
8.0.50.0040.00316.94
8.0.30.0090.00916.90
8.0.20.0130.00517.40
8.0.10.0040.00416.75
8.0.00.0080.00916.76
7.4.330.0030.00315.00
7.4.320.0030.00316.53
7.4.300.0000.00616.52
7.4.290.0000.00716.34
7.4.280.0030.00516.43
7.4.270.0070.00016.42
7.4.260.0070.00016.32
7.4.250.0030.00516.50
7.4.240.0000.00716.49
7.4.230.0030.00316.43
7.4.220.0130.01016.55
7.4.210.0090.00516.52
7.4.200.0070.00016.32
7.4.190.0030.00316.61
7.4.160.0090.00916.54
7.4.150.0080.01117.40
7.4.140.0100.01117.86
7.4.130.0150.00316.28
7.4.120.0120.00516.44
7.4.110.0070.01016.28
7.4.100.0130.00716.30
7.4.90.0110.00616.23
7.4.80.0110.00719.39
7.4.70.0060.01716.50
7.4.60.0120.00616.32
7.4.50.0000.00816.48
7.4.40.0100.00322.77
7.4.30.0170.00616.39
7.4.10.0000.01716.38
7.4.00.0080.00815.59
7.3.330.0000.00513.08
7.3.320.0000.00613.05
7.3.310.0000.00716.20
7.3.300.0040.00416.08
7.3.290.0070.00716.18
7.3.280.0130.00616.16
7.3.270.0070.01017.40
7.3.260.0040.01416.34
7.3.250.0100.00616.29
7.3.240.0000.01716.26
7.3.230.0060.01016.39
7.3.210.0090.01316.12
7.3.200.0100.01016.15
7.3.190.0080.01516.18
7.3.180.0060.00916.16
7.3.170.0090.00616.27
7.3.160.0000.01516.33
7.3.130.0100.01016.10
7.3.120.0050.01315.36
7.3.110.0060.01116.17
7.3.100.0100.01016.38
7.3.90.0080.00315.96
7.3.80.0080.00816.18
7.3.70.0070.00716.17
7.3.60.0090.00616.18
7.3.50.0070.01016.14
7.3.40.0070.00416.09
7.3.30.0040.01116.28
7.3.20.0070.00717.92
7.3.10.0110.00516.95
7.3.00.0100.00717.00
7.2.330.0150.00316.41
7.2.320.0030.01916.51
7.2.310.0120.00416.32
7.2.300.0030.01316.57
7.2.290.0030.01316.45
7.2.260.0000.01916.40
7.2.250.0030.01716.27
7.2.240.0090.00616.40
7.2.230.0070.01116.46
7.2.220.0040.01816.13
7.2.210.0060.00916.25
7.2.200.0120.00916.39
7.2.190.0060.01616.07
7.2.180.0060.00916.31
7.2.170.0000.01016.32
7.2.160.0120.00316.32
7.2.150.0130.00718.28
7.2.140.0090.00618.22
7.2.130.0070.00617.32
7.2.120.0130.00317.03
7.2.110.0080.00617.18
7.2.100.0120.00317.27
7.2.90.0110.00917.32
7.2.80.0080.01017.17
7.2.70.0070.00717.40
7.2.60.0100.00717.02
7.2.50.0030.01317.45
7.2.40.0130.00717.29
7.2.30.0090.00917.39
7.2.20.0080.01317.43
7.2.10.0100.01117.18
7.2.00.0150.00717.33
7.1.330.0120.00617.41
7.1.320.0090.00617.24
7.1.310.0090.00617.22
7.1.300.0060.00317.19
7.1.290.0030.01217.38
7.1.280.0060.00317.19
7.1.270.0170.00317.14
7.1.260.0030.01317.12
7.1.250.0130.00316.13
7.1.240.0000.01317.07
7.1.230.0060.00917.23
7.1.220.0000.01617.06
7.1.210.0090.00317.13
7.1.200.0070.00717.26
7.1.190.0150.00017.36
7.1.180.0060.00617.03
7.1.170.0030.01017.08
7.1.160.0070.01017.27
7.1.150.0100.00717.16
7.1.140.0090.00017.22
7.1.130.0030.00717.13
7.1.120.0110.00717.00
7.1.110.0070.01117.01
7.1.100.0020.01217.62
7.1.90.0090.00317.11
7.1.80.0030.01317.07
7.1.70.0040.00716.96
7.1.60.0030.01818.31
7.1.50.0080.00817.06
7.1.40.0110.00417.28
7.1.30.0060.00917.24
7.1.20.0110.00717.21
7.1.10.0100.00317.18
7.1.00.0050.04319.84
7.0.330.0030.01216.98
7.0.320.0030.00716.83
7.0.310.0060.01216.90
7.0.300.0110.00316.89
7.0.290.0000.00916.88
7.0.280.0080.00017.00
7.0.270.0000.01317.02
7.0.260.0080.00416.99
7.0.250.0030.00717.02
7.0.240.0040.00716.88
7.0.230.0110.00417.09
7.0.220.0120.00317.01
7.0.210.0060.01216.94
7.0.200.0030.01016.81
7.0.190.0100.00016.85
7.0.180.0100.00716.98
7.0.170.0040.01217.03
7.0.160.0070.00317.02
7.0.150.0110.00416.79
7.0.140.0000.04419.46
7.0.130.0060.00917.07
7.0.120.0100.00316.93
7.0.110.0110.00416.94
7.0.100.0100.00316.93
7.0.90.0080.00616.96
7.0.80.0070.00416.91
7.0.70.0030.01016.94
7.0.60.0050.04018.35
7.0.50.0090.03817.40
7.0.40.0120.04517.57
7.0.30.0310.02717.56
7.0.20.0160.03317.56
7.0.10.0210.04217.53
7.0.00.0070.02517.55
5.6.400.0080.00815.71
5.6.390.0110.00615.47
5.6.380.0090.00915.89
5.6.370.0070.01015.71
5.6.360.0040.00815.66
5.6.350.0070.00715.63
5.6.340.0000.01415.84
5.6.330.0060.00915.90
5.6.320.0040.01115.60
5.6.310.0030.01715.99
5.6.300.0090.00915.82
5.6.290.0070.01115.88
5.6.280.0060.04018.45
5.6.270.0070.00715.82
5.6.260.0030.00715.89
5.6.250.0060.00916.06
5.6.240.0090.00915.80
5.6.230.0090.00315.57
5.6.220.0030.00915.79
5.6.210.0030.04118.07
5.6.200.0030.04816.96
5.6.190.0020.03218.00
5.6.180.0180.02418.18
5.6.170.0180.04518.10
5.6.160.0100.03518.06
5.6.150.0060.02516.97
5.6.140.0070.03216.88
5.6.130.0050.04716.96
5.6.120.0100.02218.25
5.6.110.0080.04818.35
5.6.100.0050.04818.32
5.6.90.0110.04218.46
5.6.80.0010.02417.93
5.6.70.1990.01618.06
5.6.60.0060.00615.62
5.6.50.0040.01115.66
5.6.40.0070.01015.53
5.6.30.0130.00315.61
5.6.20.0030.01015.68
5.6.10.0060.00615.76
5.6.00.0070.00715.62
5.5.380.0100.00715.66
5.5.370.0040.01115.51
5.5.360.0000.01615.60
5.5.350.0070.04517.96
5.5.340.0100.03316.78
5.5.330.0090.04617.97
5.5.320.0150.04018.00
5.5.310.0100.03218.05
5.5.300.0060.03716.71
5.5.290.0070.03916.74
5.5.280.0070.04618.38
5.5.270.0050.03618.16
5.5.260.0090.02018.37
5.5.250.0100.04218.13
5.5.240.0140.03117.98
5.5.230.0000.00915.48
5.5.220.0040.00815.57
5.5.210.0040.01115.79
5.5.200.0120.00315.53
5.5.190.0100.00715.66
5.5.180.0040.00715.51
5.5.170.0000.01515.54
5.5.160.0030.00715.39
5.5.150.0090.00615.80
5.5.140.0100.00315.54
5.5.130.0030.01115.58
5.5.120.0070.00715.48
5.5.110.0060.00615.73
5.5.100.0000.01715.38
5.5.90.0070.00715.56
5.5.80.0070.01115.58
5.5.70.0060.00315.61
5.5.60.0040.00715.24
5.5.50.0070.00715.52
5.5.40.0090.00915.55
5.5.30.0040.01415.70
5.5.20.0110.00715.57
5.5.10.0090.00315.57
5.5.00.0070.00715.54
5.4.450.0470.02816.05
5.4.440.0400.04315.90
5.4.430.0410.02615.93
5.4.420.0450.03216.12
5.4.410.0200.02915.91
5.4.400.0420.02715.87
5.4.390.0400.03015.89
5.4.380.0150.03215.54
5.4.370.0150.03215.59
5.4.360.0170.03415.49
5.4.350.0270.03515.53
5.4.340.0130.03215.53
5.4.330.0100.00012.58
5.4.320.0030.03012.50
5.4.310.0070.02512.54
5.4.300.0090.02112.57
5.4.290.0070.02512.48
5.4.280.0070.02612.41
5.4.270.0070.02612.41
5.4.260.0050.02812.45
5.4.250.0040.03712.41
5.4.240.0100.03412.41
5.4.230.0070.02712.41
5.4.220.0100.02812.41
5.4.210.0060.04912.41
5.4.200.0130.06312.41
5.4.190.0070.02312.41
5.4.180.0080.02312.46
5.4.170.0060.02512.41
5.4.160.0050.02612.41
5.4.150.0040.02812.43
5.4.140.0040.02812.25
5.4.130.0060.03012.24
5.4.120.0090.02612.24
5.4.110.0090.04212.25
5.4.100.0070.02312.23
5.4.90.0040.02812.29
5.4.80.0080.02412.22
5.4.70.0070.02112.25
5.4.60.0070.02612.24
5.4.50.0060.02612.22
5.4.40.0040.02512.24
5.4.30.0060.02312.31
5.4.20.0070.02512.27
5.4.10.0050.02412.21
5.4.00.0040.02711.98
5.3.290.0050.02912.95
5.3.280.0070.03012.80
5.3.270.0060.02912.99
5.3.260.0060.03512.84
5.3.250.0080.03712.84
5.3.240.0130.02812.86
5.3.230.0080.03712.89
5.3.220.0080.03712.81
5.3.210.0050.02812.72
5.3.200.0070.02412.72
5.3.190.0080.02312.84
5.3.180.0090.02312.81
5.3.170.0070.02512.81
5.3.160.0110.03112.84
5.3.150.0070.03412.88
5.3.140.0100.04012.82
5.3.130.0050.04812.78
5.3.120.0080.03412.78
5.3.110.0070.03912.76
5.3.100.0080.02912.47
5.3.90.0070.02812.47
5.3.80.0050.02812.42
5.3.70.0090.04112.34
5.3.60.0090.03412.47
5.3.50.0080.04412.30
5.3.40.0150.05112.41
5.3.30.0060.02812.39
5.3.20.0090.02412.27
5.3.10.0070.04012.17
5.3.00.0040.03212.19
5.2.170.0080.0479.20
5.2.160.0080.0439.20
5.2.150.0070.0429.20
5.2.140.0130.0609.20
5.2.130.0080.0479.16
5.2.120.0130.0449.16
5.2.110.0040.0439.17
5.2.100.0100.0589.16
5.2.90.0050.0439.17
5.2.80.0080.0439.16
5.2.70.0090.0729.16
5.2.60.0040.0599.11
5.2.50.0100.0529.08
5.2.40.0150.0629.05
5.2.30.0030.0479.04
5.2.20.0130.0749.02
5.2.10.0220.0608.93
5.2.00.0130.0528.79
5.1.60.0050.0378.06
5.1.50.0080.0418.06
5.1.40.0070.0288.04
5.1.30.0080.0288.39
5.1.20.0080.0288.41
5.1.10.0100.0558.13
5.1.00.0030.0408.14
5.0.50.0080.0366.62
5.0.40.0040.0306.47
5.0.30.0120.0736.29
5.0.20.0110.0396.26
5.0.10.0100.0366.23
5.0.00.0100.0386.22
4.4.90.0070.0244.77
4.4.80.0060.0454.76
4.4.70.0050.0244.76
4.4.60.0030.0234.75
4.4.50.0050.0234.77
4.4.40.0120.0634.71
4.4.30.0110.0314.76
4.4.20.0110.0314.84
4.4.10.0090.0404.85
4.4.00.0090.0514.76
4.3.110.0080.0214.67
4.3.100.0080.0334.66
4.3.90.0060.0304.64
4.3.80.0050.0374.58
4.3.70.0130.0444.63
4.3.60.0070.0204.63
4.3.50.0040.0254.63
4.3.40.0040.0384.54
4.3.30.0050.0243.28
4.3.20.0090.0233.25
4.3.10.0160.0473.22
4.3.00.0170.03010.54

preferences:
45.75 ms | 401 KiB | 5 Q