3v4l.org

run code in 300+ PHP versions simultaneously
<?php $search_array = array("https", "www", "stackoverflow", "com"); foreach($search_array as $i => $domain) { if ( $search_array[$i] == null || $domain == "http" && count($search_array) > 1 || $domain == "https" && count($search_array) > 1 || $domain == "www" && count($search_array) > 1 || $domain == "com" && count($search_array) > 1 ) unset($search_array[$i]); } die(print_r($search_array));

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.5.00.0110.01220.15
8.4.150.0030.00014.05
8.4.140.0110.01017.58
8.4.130.0120.00918.02
8.4.120.0140.00820.65
8.4.110.0070.00222.23
8.4.100.0140.00517.63
8.4.90.0140.00718.55
8.4.80.0060.00219.59
8.4.70.0080.01217.75
8.4.60.0050.00518.99
8.4.50.0080.00417.41
8.4.40.0130.00719.78
8.4.30.0040.01118.86
8.4.20.0060.00319.43
8.4.10.0040.00424.05
8.3.280.0200.01218.58
8.3.270.0080.01216.41
8.3.260.0120.00816.77
8.3.250.0110.00718.88
8.3.240.0060.00216.64
8.3.230.0120.00816.53
8.3.220.0100.01017.16
8.3.210.0080.00916.73
8.3.200.0040.00716.56
8.3.190.0090.00917.25
8.3.180.0040.00416.61
8.3.170.0120.00617.40
8.3.160.0170.00018.43
8.3.150.0120.00617.18
8.3.140.0070.00716.99
8.3.130.0080.00018.41
8.3.120.0090.00020.58
8.3.110.0070.00318.40
8.3.100.0060.01316.82
8.3.90.0080.00026.77
8.3.80.0030.00616.63
8.3.70.0160.00616.58
8.3.60.0110.00716.63
8.3.50.0030.01320.15
8.3.40.0140.00020.26
8.3.30.0100.00718.70
8.3.20.0070.00024.18
8.3.10.0030.00624.66
8.3.00.0070.00026.16
8.2.290.0130.00620.80
8.2.280.0120.00518.61
8.2.270.0110.00718.87
8.2.260.0060.00318.89
8.2.250.0060.00316.95
8.2.240.0030.01617.15
8.2.230.0060.00320.94
8.2.220.0080.00024.06
8.2.210.0080.00026.77
8.2.200.0040.00418.29
8.2.190.0040.01117.00
8.2.180.0100.01025.92
8.2.170.0090.00619.04
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0080.00020.08
8.2.110.0060.00320.47
8.2.100.0080.00419.64
8.2.90.0050.00317.75
8.2.80.0040.00418.96
8.2.70.0030.00617.72
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0080.00018.22
8.2.30.0050.00318.13
8.2.20.0000.00720.52
8.2.10.0070.00018.04
8.2.00.0040.00419.21
8.1.330.0060.01222.07
8.1.320.0120.00616.44
8.1.310.0110.00418.44
8.1.300.0090.00316.14
8.1.290.0080.00030.84
8.1.280.0040.01125.92
8.1.270.0080.00024.01
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0060.00323.83
8.1.230.0040.00717.77
8.1.220.0090.00017.75
8.1.210.0080.00018.77
8.1.200.0030.00617.36
8.1.190.0080.00017.47
8.1.180.0060.00618.10
8.1.170.0030.00518.90
8.1.160.0030.00618.96
8.1.150.0000.00818.57
8.1.140.0030.00617.52
8.1.130.0060.00318.95
8.1.120.0030.00720.34
8.1.110.0070.00320.47
8.1.100.0070.00220.39
8.1.90.0050.00720.52
8.1.80.0080.00420.35
8.1.70.0070.00420.51
8.1.60.0180.00018.79
8.1.50.0140.00518.80
8.1.40.0140.00318.84
8.1.30.0140.00518.85
8.1.20.0050.00818.85
8.1.10.0170.00218.71
8.1.00.0110.00818.65
8.0.300.0070.00018.77
8.0.290.0030.00516.75
8.0.280.0000.00718.37
8.0.270.0030.00317.32
8.0.260.0030.00316.89
8.0.250.0040.00419.92
8.0.240.0120.00418.07
8.0.230.0130.00318.09
8.0.220.0110.00518.14
8.0.210.0080.00818.10
8.0.200.0160.00018.14
8.0.190.0100.00418.15
8.0.180.0050.01018.05
8.0.170.0070.00718.14
8.0.160.0130.00318.10
8.0.150.0160.00817.98
8.0.140.0130.00518.17
8.0.130.0090.00618.07
8.0.120.0110.00417.95
8.0.110.0110.00218.14
8.0.100.0050.00918.14
8.0.90.0050.01018.06
8.0.80.0110.00417.99
8.0.70.0070.00718.00
8.0.60.0070.00718.06
8.0.50.0120.00318.02
8.0.30.0000.01618.06
8.0.20.0110.00418.09
8.0.10.0080.00618.19
7.4.330.0000.00715.55
7.4.320.0130.00017.62
7.4.300.0000.01217.50
7.4.290.0110.00617.73
7.4.280.0070.00417.56
7.4.270.0090.00417.63
7.4.260.0050.00517.71
7.4.250.0030.00817.27
7.4.240.0160.00017.73
7.4.230.0160.00017.68
7.4.220.0120.00517.54
7.4.210.0110.00417.74
7.4.200.0070.00717.63
7.4.190.0080.00717.73
7.4.180.0050.01017.79
7.4.160.0070.00417.72
7.4.150.0030.00817.69
7.4.140.0040.00617.60
7.4.130.0040.00819.42
7.4.120.0100.00019.06
7.4.110.0100.00017.66
7.4.100.0110.00217.73
7.4.90.0060.00617.49
7.4.80.0080.00417.54
7.4.70.0070.00717.52
7.4.60.0080.00417.54
7.4.50.0060.00619.28
7.4.40.0150.00017.52
7.4.30.0050.00517.34
7.4.20.0070.00317.66
7.4.10.0060.00617.48
7.4.00.0100.00017.41

preferences:
77.17 ms | 403 KiB | 5 Q