3v4l.org

run code in 300+ PHP versions simultaneously
<?php $found = null; $people = array(3,20,2); $criminals = array( 2, 4, 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20); $fastfind = array_intersect($people,$criminals); var_dump($fastfind);

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.0130.00717.77
8.4.10.0080.00817.41
8.3.150.0100.01016.63
8.3.140.0110.00716.57
8.3.130.0080.00018.54
8.3.120.0070.00318.93
8.3.110.0040.00416.38
8.3.100.0060.00324.06
8.3.90.0080.00826.77
8.3.80.0030.00618.43
8.3.70.0120.00618.18
8.3.60.0100.01018.43
8.3.50.0110.00721.80
8.3.40.0150.00018.71
8.3.30.0070.00718.84
8.3.20.0050.00320.05
8.3.10.0080.00023.65
8.3.00.0030.00519.13
8.2.260.0000.00816.68
8.2.250.0040.00418.61
8.2.240.0080.00816.76
8.2.230.0090.00020.94
8.2.220.0130.00737.54
8.2.210.0070.00726.77
8.2.200.0030.00618.88
8.2.190.0110.00416.75
8.2.180.0090.00616.37
8.2.170.0140.00022.96
8.2.160.0070.00722.29
8.2.150.0040.00425.66
8.2.140.0040.01124.66
8.2.130.0050.00226.16
8.2.120.0070.00019.41
8.2.110.0100.00022.25
8.2.100.0080.00317.84
8.2.90.0040.00417.78
8.2.80.0060.00319.16
8.2.70.0000.00817.93
8.2.60.0000.00817.92
8.2.50.0000.00918.10
8.2.40.0080.00019.34
8.2.30.0040.00419.08
8.2.20.0040.00417.58
8.2.10.0040.00418.06
8.2.00.0000.00817.72
8.1.310.0070.00718.53
8.1.300.0000.00919.78
8.1.290.0000.01030.84
8.1.280.0080.00825.92
8.1.270.0000.00824.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.54
8.1.230.0080.00320.94
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0030.00617.13
8.1.180.0000.00818.10
8.1.170.0060.00318.84
8.1.160.0000.00818.69
8.1.150.0040.00418.81
8.1.140.0070.00017.29
8.1.130.0000.00717.38
8.1.120.0050.00217.37
8.1.110.0000.00817.37
8.1.100.0030.00317.28
8.1.90.0000.00717.30
8.1.80.0040.00417.43
8.1.70.0030.00317.30
8.1.60.0040.00417.45
8.1.50.0000.00817.31
8.1.40.0000.00717.31
8.1.30.0030.00617.49
8.1.20.0000.00717.46
8.1.10.0040.00417.34
8.1.00.0000.00817.33
8.0.300.0000.00719.98
8.0.290.0040.00416.63
8.0.280.0040.00418.35
8.0.270.0030.00317.09
8.0.260.0030.00316.75
8.0.250.0000.00616.81
8.0.240.0070.00016.75
8.0.230.0030.00316.86
8.0.220.0000.00716.79
8.0.210.0070.00016.86
8.0.200.0030.00316.77
8.0.190.0040.00416.88
8.0.180.0070.00316.90
8.0.170.0040.00416.87
8.0.160.0030.00316.70
8.0.150.0000.00716.77
8.0.140.0000.00716.77
8.0.130.0030.00313.23
8.0.120.0000.00816.68
8.0.110.0020.00516.66
8.0.100.0070.00016.68
8.0.90.0030.00316.86
8.0.80.0150.00716.87
8.0.70.0000.00716.93
8.0.60.0050.00216.77
8.0.50.0000.00716.80
8.0.30.0110.01117.03
8.0.20.0080.01117.40
8.0.10.0000.00816.85
8.0.00.0160.00116.66
7.4.330.0000.00515.09
7.4.320.0000.00616.57
7.4.300.0030.00316.43
7.4.290.0070.00016.39
7.4.280.0060.00316.43
7.4.270.0000.00716.45
7.4.260.0040.00416.52
7.4.250.0070.00016.51
7.4.240.0070.00016.45
7.4.230.0000.00716.63
7.4.220.0060.01916.57
7.4.210.0060.00916.46
7.4.200.0030.00316.45
7.4.160.0090.01216.53
7.4.150.0130.00417.40
7.4.140.0100.00717.86
7.4.130.0110.00616.43
7.4.120.0060.01016.46
7.4.110.0100.01316.45
7.4.100.0080.00816.49
7.4.90.0060.01216.32
7.4.80.0160.00317.79
7.4.70.0090.00916.34
7.4.60.0080.01116.41
7.4.50.0040.00816.36
7.4.40.0110.00816.46
7.4.30.0060.01416.20
7.4.20.0110.00916.21
7.4.10.0060.01316.43
7.4.00.0070.01415.82
7.3.330.0030.00213.02
7.3.320.0000.00512.89
7.3.310.0000.00716.08
7.3.300.0060.00016.12
7.3.290.0070.00016.17
7.3.280.0090.00916.18
7.3.270.0130.00317.40
7.3.260.0090.00916.50
7.3.250.0070.01316.29
7.3.240.0030.01316.14
7.3.230.0150.00616.39
7.3.210.0070.01016.31
7.3.200.0080.01117.81
7.3.190.0100.01116.26
7.3.180.0090.00816.55
7.3.170.0110.00616.23
7.3.160.0080.01016.20
7.3.150.0130.01016.40
7.3.140.0150.00316.39
7.3.130.0150.00316.36
7.3.120.0160.00316.07
7.3.110.0130.00916.33
7.3.100.0060.01216.13
7.3.90.0070.01016.06
7.3.80.0070.01016.09
7.3.70.0150.00416.29
7.3.60.0120.00616.25
7.3.50.0060.01116.13
7.3.40.0080.00816.21
7.3.30.0140.00316.35
7.3.20.0100.00716.33
7.3.10.0070.01016.38
7.3.00.0060.01216.18
7.2.330.0070.01716.39
7.2.320.0090.01116.55
7.2.310.0060.01216.41
7.2.300.0140.00716.51
7.2.290.0090.01116.64
7.2.280.0060.01316.29
7.2.270.0150.01216.43
7.2.260.0110.00816.35
7.2.250.0100.01016.58
7.2.240.0120.01216.42
7.2.230.0110.00716.52
7.2.220.0130.00616.27
7.2.210.0070.01316.27
7.2.200.0070.01016.26
7.2.190.0170.00416.59
7.2.180.0040.01416.31
7.2.170.0140.00316.50
7.2.160.0070.01116.44
7.2.150.0090.01316.58
7.2.140.0110.00616.38
7.2.130.0060.01216.47
7.2.120.0120.00916.52
7.2.110.0220.00416.53
7.2.100.0090.00916.46
7.2.90.0110.00716.65
7.2.80.0060.01216.40
7.2.70.0140.00316.64
7.2.60.0040.01216.57
7.2.50.0180.00716.71
7.2.40.0140.00516.64
7.2.30.0220.00616.34
7.2.20.0100.01016.37
7.2.10.0060.01516.38
7.2.00.0080.00617.79
7.1.330.0220.01115.67
7.1.320.0160.01315.57
7.1.310.0220.01015.60
7.1.300.0140.01815.51
7.1.290.0240.01015.32
7.1.280.0250.00515.63
7.1.270.0210.00715.33
7.1.260.0210.00915.35
7.1.250.0420.00615.39
7.1.240.0180.01215.43
7.1.230.0210.00915.50
7.1.220.0240.01615.45
7.1.210.0240.00515.38
7.1.200.0090.00915.61
7.1.190.0540.00715.50
7.1.180.0130.01615.42
7.1.170.0250.01415.41
7.1.160.0230.00815.26
7.1.150.0210.00815.59
7.1.140.0250.00615.52
7.1.130.0220.01115.56
7.1.120.0150.01515.56
7.1.110.0200.01215.43
7.1.100.0150.00816.74
7.1.90.0170.01215.59
7.1.80.0200.01515.25
7.1.70.0110.00716.13
7.1.60.0180.00917.42
7.1.50.0130.01316.21
7.1.40.0150.01015.30
7.1.30.0170.01115.35
7.1.20.0190.01315.57
7.1.10.0210.01015.58
7.1.00.0120.04318.82
7.0.330.0270.00015.02
7.0.320.0220.00815.14
7.0.310.0220.00415.05
7.0.300.0190.01915.13
7.0.290.0270.00315.14
7.0.280.0230.01214.93
7.0.270.0250.00815.07
7.0.260.0270.00315.11
7.0.250.0230.00615.17
7.0.240.0330.00315.40
7.0.230.0290.00315.09
7.0.220.0230.00514.96
7.0.210.0230.01315.14
7.0.200.0120.00715.90
7.0.190.0310.00415.21
7.0.180.0180.01115.07
7.0.170.0250.00615.31
7.0.160.0340.00615.23
7.0.150.0260.00315.20
7.0.140.0110.04018.58
7.0.130.0360.01414.95
7.0.120.0250.00615.27
7.0.110.0340.00415.03
7.0.100.0280.00015.11
7.0.90.0300.00315.28
7.0.80.0250.00415.05
7.0.70.0150.02717.56
7.0.60.0380.03717.57
7.0.50.0200.02117.74
7.0.40.0240.02617.54
7.0.30.0220.04017.63
7.0.20.0120.02717.63
7.0.10.0140.02517.63
7.0.00.0160.04317.63
5.6.400.0210.01115.91
5.6.390.0310.00315.93
5.6.380.0160.01215.68
5.6.370.0140.01715.72
5.6.360.0260.00815.54
5.6.350.0160.01715.69
5.6.340.0090.01915.88
5.6.330.0140.01715.78
5.6.320.0260.00715.84
5.6.310.0240.00915.89
5.6.300.0190.01315.50
5.6.290.0200.01015.76
5.6.280.0160.03818.50
5.6.270.0250.00915.86
5.6.260.0220.00915.85
5.6.250.0320.00015.50
5.6.240.0180.01315.77
5.6.230.0270.00615.92
5.6.220.0160.02418.14
5.6.210.0130.02818.25
5.6.200.0130.02618.30
5.6.190.0110.03218.50
5.6.180.0120.03618.47
5.6.170.0090.05118.42
5.6.160.0140.03018.49
5.6.150.0160.02318.52
5.6.140.0100.03318.38
5.6.130.0180.02218.40
5.6.120.0130.03518.47
5.6.110.0140.02718.36
5.6.100.0150.04418.27
5.6.90.0150.02318.40
5.6.80.0120.02418.08
5.6.70.0160.03118.02
5.6.60.0100.02918.01
5.6.50.0080.02818.04
5.6.40.0100.02618.15
5.6.30.0100.02918.12
5.6.20.0080.04018.08
5.6.10.0100.02518.17
5.6.00.0120.02417.97
5.5.380.0160.01615.63
5.5.370.0190.01215.70
5.5.360.0140.02517.90
5.5.350.0090.02918.16
5.5.340.0150.04218.36
5.5.330.0100.02918.20
5.5.320.0150.02518.42
5.5.310.0100.03218.38
5.5.300.0160.02518.23
5.5.290.0100.03118.23
5.5.280.0140.02418.33
5.5.270.0110.02918.27
5.5.260.0180.03818.20
5.5.250.0130.04118.17
5.5.240.0100.02717.97
5.5.230.0130.02517.84
5.5.220.0120.02517.95
5.5.210.0140.02817.93
5.5.200.0150.02217.82
5.5.190.0090.02817.83
5.5.180.0120.02417.82
5.5.170.0100.02015.67
5.5.160.0160.02217.99
5.5.150.0170.03517.87
5.5.140.0140.02418.04
5.5.130.0150.03117.88
5.5.120.0080.04817.79
5.5.110.0120.03417.85
5.5.100.0230.04317.88
5.5.90.0170.04217.81
5.5.80.0100.03917.77
5.5.70.0150.03817.85
5.5.60.0170.03917.77
5.5.50.0190.04417.82
5.5.40.0170.04317.92
5.5.30.0110.04917.89
5.5.20.0100.04717.78
5.5.10.0120.03617.94
5.5.00.0090.03617.74
5.4.450.0060.02715.81
5.4.440.0110.02415.92
5.4.430.0180.01816.00
5.4.420.0140.02615.96
5.4.410.0110.03515.88
5.4.400.0120.01815.78
5.4.390.0140.02015.73
5.4.380.0100.02315.65
5.4.370.0120.01915.69
5.4.360.0090.02515.86
5.4.350.0100.02415.77
5.4.340.0100.02015.87
5.4.330.0160.00612.29
5.4.320.0090.02615.80
5.4.310.0150.01715.70
5.4.300.0070.02415.74
5.4.290.0120.02315.81
5.4.280.0150.04115.76
5.4.270.0130.04015.82
5.4.260.0160.03515.51
5.4.250.0150.04015.74
5.4.240.0170.03315.64
5.4.230.0120.04415.77
5.4.220.0150.04315.62
5.4.210.0140.04415.61
5.4.200.0160.03715.67
5.4.190.0110.04215.70
5.4.180.0120.04415.58
5.4.170.0130.04315.67
5.4.160.0120.03715.80
5.4.150.0120.03815.70
5.4.140.0120.04214.53
5.4.130.0150.03514.38
5.4.120.0160.03614.38
5.4.110.0150.03614.30
5.4.100.0160.03714.37
5.4.90.0110.04114.37
5.4.80.0100.04014.37
5.4.70.0070.03914.36
5.4.60.0100.04314.38
5.4.50.0120.04014.32
5.4.40.0100.04214.51
5.4.30.0080.04714.28
5.4.20.0160.03514.38
5.4.10.0130.04314.48
5.4.00.0090.04114.13

preferences:
55.74 ms | 403 KiB | 5 Q