3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 5300; $b = [53001, 53, false, true]; $c = true; $d = [5300, 53001]; var_dump( in_array($a, $b), in_array($c, $d) );

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.0140.00719.25
8.4.10.0100.01022.36
8.3.150.0150.00316.93
8.3.140.0050.00320.71
8.3.130.0100.00018.24
8.3.120.0000.00918.89
8.3.110.0000.00920.94
8.3.100.0060.00316.39
8.3.90.0030.01416.50
8.3.80.0060.00318.18
8.3.70.0120.00318.30
8.3.60.0070.00716.50
8.3.50.0130.00821.14
8.3.40.0140.00018.56
8.3.30.0150.00018.72
8.3.20.0000.00721.60
8.3.10.0040.00421.82
8.3.00.0080.00023.66
8.2.260.0090.00616.73
8.2.250.0060.00916.34
8.2.240.0090.00016.92
8.2.230.0060.00322.58
8.2.220.0090.00624.06
8.2.210.0140.00426.77
8.2.200.0030.00618.41
8.2.190.0060.01116.58
8.2.180.0110.00316.38
8.2.170.0090.00622.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0090.00020.83
8.2.110.0000.01022.11
8.2.100.0060.00617.78
8.2.90.0030.00617.90
8.2.80.0030.00717.97
8.2.70.0050.00317.38
8.2.60.0040.00417.50
8.2.50.0000.01018.10
8.2.40.0090.00019.30
8.2.30.0040.00419.14
8.2.20.0080.00018.07
8.2.10.0040.00417.87
8.2.00.0020.00517.67
8.1.310.0110.00718.23
8.1.300.0120.00618.35
8.1.290.0030.00618.88
8.1.280.0140.00025.92
8.1.270.0000.00920.15
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.47
8.1.230.0060.00620.89
8.1.220.0000.00717.79
8.1.210.0000.00818.77
8.1.200.0050.00517.23
8.1.190.0080.00017.10
8.1.180.0090.00018.10
8.1.170.0080.00018.59
8.1.160.0030.00322.01
8.1.150.0050.00218.87
8.1.140.0040.00419.50
8.1.130.0030.00317.61
8.1.120.0080.00017.45
8.1.110.0070.00017.40
8.1.100.0070.00017.29
8.1.90.0050.00217.27
8.1.80.0040.00417.34
8.1.70.0000.00817.24
8.1.60.0060.00317.45
8.1.50.0080.00017.46
8.1.40.0000.00717.45
8.1.30.0000.00917.63
8.1.20.0030.00517.55
8.1.10.0000.00717.44
8.1.00.0080.00017.35
8.0.300.0000.00719.88
8.0.290.0000.00816.58
8.0.280.0070.00018.36
8.0.270.0000.00717.19
8.0.260.0080.00017.24
8.0.250.0030.00316.92
8.0.240.0050.00216.92
8.0.230.0030.00316.92
8.0.220.0000.00716.73
8.0.210.0000.00716.86
8.0.200.0040.00416.95
8.0.190.0030.00316.88
8.0.180.0040.00416.80
8.0.170.0000.00716.75
8.0.160.0000.00816.76
8.0.150.0030.00416.73
8.0.140.0040.00416.79
8.0.130.0050.00013.29
8.0.120.0000.00816.81
8.0.110.0050.00316.77
8.0.100.0000.00816.69
8.0.90.0080.00016.88
8.0.80.0030.01316.76
8.0.70.0000.00816.88
8.0.60.0040.00416.78
8.0.50.0040.00416.84
8.0.30.0100.00516.87
8.0.20.0090.00917.40
8.0.10.0050.00216.75
8.0.00.0090.00916.66
7.4.330.0000.00515.55
7.4.320.0060.00016.45
7.4.300.0000.00716.50
7.4.290.0000.00716.43
7.4.280.0050.00316.35
7.4.270.0030.00316.55
7.4.260.0030.00316.47
7.4.250.0070.00016.39
7.4.240.0040.00416.43
7.4.230.0000.00716.23
7.4.220.0140.00316.53
7.4.210.0130.00416.43
7.4.200.0030.00316.54
7.4.160.0070.01216.22
7.4.150.0070.01017.40
7.4.140.0150.00617.86
7.4.130.0050.01516.49
7.4.120.0090.00816.33
7.4.110.0060.01316.59
7.4.100.0060.01216.29
7.4.90.0100.01016.32
7.4.80.0060.01219.39
7.4.70.0030.01316.24
7.4.60.0030.01316.46
7.4.50.0000.01616.43
7.4.40.0100.00716.54
7.4.30.0060.01016.32
7.4.00.0100.00714.93
7.3.330.0050.00312.98
7.3.320.0000.00712.89
7.3.310.0040.00416.18
7.3.300.0000.00716.00
7.3.290.0030.00315.98
7.3.280.0070.00916.16
7.3.270.0100.00717.40
7.3.260.0130.00816.38
7.3.250.0070.01016.11
7.3.240.0120.00516.32
7.3.230.0050.01116.43
7.3.210.0090.00616.06
7.3.200.0100.00616.48
7.3.190.0140.00716.40
7.3.180.0110.01116.30
7.3.170.0140.00716.31
7.3.160.0140.00916.09
7.2.330.0150.00916.23
7.2.320.0070.01016.22
7.2.310.0090.00616.31
7.2.300.0090.01216.52
7.2.290.0060.01116.58
7.2.00.0070.01018.97
7.1.70.0000.00717.13
7.1.60.0080.00317.13
7.1.00.0070.07322.35
7.0.200.0300.00714.31
7.0.110.0100.05320.18
7.0.100.0000.08020.23
7.0.90.0070.06720.22
7.0.80.0030.06320.21
7.0.70.0200.04720.25
7.0.60.0130.05320.25
7.0.50.0170.05020.31
7.0.40.0270.05720.29
7.0.30.0430.05020.39
7.0.20.0330.06320.24
7.0.10.0270.06720.29
7.0.00.0500.04720.30
5.6.260.0200.04321.03
5.6.250.0100.06720.87
5.6.240.0170.07720.87
5.6.230.0070.06720.86
5.6.220.0170.05020.82
5.6.210.0130.05320.95
5.6.200.0200.05020.89
5.6.190.0070.05721.04
5.6.180.0100.05720.92
5.6.170.0100.05320.82
5.6.160.0100.05721.02
5.6.150.0130.05720.84
5.6.140.0100.05321.00
5.6.130.0000.06321.05
5.6.120.0100.05720.84
5.6.110.0130.05320.92
5.6.100.0100.05721.00
5.6.90.0170.04720.71
5.6.80.0030.05720.30
5.6.70.0100.05320.39
5.6.60.0070.05720.20
5.6.50.0270.05320.46
5.6.40.0070.05320.36
5.6.30.0170.06320.16
5.6.20.0070.05720.38
5.6.10.0230.04320.36
5.6.00.0100.05320.21

preferences:
32 ms | 403 KiB | 5 Q