3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo in_array("application/x-font-ttf", ['application/x-font-ttf']); echo in_array("application/x-font-ttf", ['application/x-font-ttf'], false); echo in_array("application/x-font-ttf", ['application/x-font-ttf'], true);

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.140.0090.00616.47
8.3.130.0000.00816.41
8.3.120.0090.00020.55
8.3.110.0060.00316.63
8.3.100.0000.00816.59
8.3.90.0150.00318.21
8.3.80.0110.00018.31
8.3.70.0090.00618.10
8.3.60.0070.00718.18
8.3.50.0120.00521.07
8.3.40.0040.01318.54
8.3.30.0120.00318.79
8.3.20.0070.00023.53
8.3.10.0050.00320.16
8.3.00.0040.00423.70
8.2.250.0070.00716.71
8.2.240.0150.00018.97
8.2.230.0090.00020.94
8.2.220.0050.00324.06
8.2.210.0080.00026.77
8.2.200.0040.00418.29
8.2.190.0140.00316.58
8.2.180.0100.00716.38
8.2.170.0110.00422.96
8.2.160.0140.00020.28
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0030.00620.99
8.2.100.0110.00017.91
8.2.90.0050.00317.75
8.2.80.0040.00420.51
8.2.70.0080.00017.50
8.2.60.0040.00417.50
8.2.50.0000.00817.63
8.2.40.0040.00419.35
8.2.30.0050.00319.25
8.2.20.0040.00417.90
8.2.10.0070.00019.10
8.2.00.0040.00419.05
8.1.300.0060.00318.47
8.1.290.0060.00318.88
8.1.280.0100.01025.92
8.1.270.0040.00423.88
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00320.90
8.1.230.0070.00420.98
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.23
8.1.190.0000.00817.41
8.1.180.0090.00018.10
8.1.170.0000.00818.59
8.1.160.0000.00718.76
8.1.150.0000.00818.82
8.1.140.0000.00722.00
8.1.130.0040.00420.08
8.1.120.0090.00017.33
8.1.110.0030.00617.31
8.1.100.0000.00817.39
8.1.90.0040.00417.23
8.1.80.0060.00317.38
8.1.70.0030.00317.29
8.1.60.0070.00017.34
8.1.50.0040.00417.44
8.1.40.0080.00017.38
8.1.30.0040.00417.41
8.1.20.0040.00417.54
8.1.10.0060.00317.38
8.1.00.0000.00717.34
8.0.300.0070.00018.77
8.0.290.0080.00016.75
8.0.280.0050.00218.30
8.0.270.0000.00717.19
8.0.260.0000.00621.78
8.0.250.0070.00016.94
8.0.240.0090.00016.84
8.0.230.0040.00416.89
8.0.220.0030.00316.86
8.0.210.0000.00716.71
8.0.200.0000.00716.81
8.0.190.0000.00716.91
8.0.180.0000.00816.79
8.0.170.0060.00316.82
8.0.160.0040.00416.85
8.0.150.0000.00716.64
8.0.140.0000.00716.68
8.0.130.0030.00313.18
8.0.120.0070.00016.69
8.0.110.0000.00916.71
8.0.100.0000.00716.86
8.0.90.0030.00616.85
8.0.80.0070.00816.84
8.0.70.0040.00416.67
8.0.60.0070.00016.85
8.0.50.0040.00416.62
8.0.30.0110.00817.07
8.0.20.0140.01017.08
8.0.10.0040.00416.82
8.0.00.0120.00716.74
7.4.330.0030.00315.55
7.4.320.0000.00716.38
7.4.300.0000.00616.36
7.4.290.0000.00716.37
7.4.280.0000.00816.49
7.4.270.0000.00716.37
7.4.260.0070.00016.40
7.4.250.0030.00316.35
7.4.240.0040.00316.36
7.4.230.0000.00716.56
7.4.220.0000.00716.21
7.4.210.0070.01116.39
7.4.200.0030.00316.47
7.4.130.0090.00916.18
7.4.120.0170.00016.26
7.4.110.0070.01016.29
7.4.100.0070.01016.41
7.4.90.0140.00316.41
7.4.80.0110.00619.39
7.4.70.0090.00616.26
7.4.60.0090.00616.13
7.4.50.0060.00916.20
7.4.40.0030.01716.52
7.4.00.0070.00714.55
7.3.330.0030.00413.05
7.3.320.0000.00612.89
7.3.310.0050.00216.20
7.3.300.0000.00716.16
7.3.290.0000.00716.09
7.3.280.0110.00416.08
7.3.260.0140.00716.38
7.3.240.0090.00916.29
7.3.230.0120.01216.60
7.3.210.0130.01016.17
7.3.200.0060.01116.36
7.3.190.0090.00616.16
7.3.180.0080.00716.39
7.3.170.0110.00616.30
7.3.160.0060.01016.43
7.3.70.0110.00614.53
7.3.60.0100.00814.52
7.3.50.0090.00614.57
7.3.40.0100.00514.68
7.3.30.0060.00814.60
7.3.20.0110.00515.66
7.3.10.0130.00515.54
7.3.00.0160.00615.38
7.2.330.0080.00916.66
7.2.320.0130.00416.52
7.2.310.0090.00916.29
7.2.300.0210.00016.61
7.2.290.0100.00716.60
7.2.200.0100.00514.93
7.2.190.0080.00514.88
7.2.180.0060.01015.05
7.2.170.0080.00614.80
7.2.160.0090.00714.67
7.2.150.0070.01115.90
7.2.140.0110.00915.88
7.2.130.0100.00615.94
7.2.120.0130.00815.93
7.2.110.0100.00615.70
7.2.100.0110.00615.92
7.2.90.0110.00515.80
7.2.80.0080.01115.83
7.2.70.0170.00715.87
7.2.60.0110.00615.97
7.2.50.0080.00815.49
7.2.40.0080.00915.83
7.2.30.0140.00416.02
7.2.20.0140.00815.85
7.2.10.0090.00915.64
7.2.00.0050.01515.92
7.1.300.0190.00714.67
7.1.290.0100.00714.69
7.1.280.0080.01114.59
7.1.270.0100.00714.78
7.1.260.0070.00914.59
7.1.250.0080.00814.65

preferences:
70.05 ms | 403 KiB | 5 Q