3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '/** @var string[] */ /** @return string[] */ * @param Company[]|null $companies $icons[] = static::getIconDetailsFromLink($link); $this->properties[] = $property;'; if (preg_match_all('/\b(?<!\$|->)\w+\[]/', $str, $matches)) { print_r($matches); }

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.10.0100.00916.91
8.5.00.0140.00720.30
8.4.150.0030.00014.05
8.4.140.0150.00917.66
8.4.130.0130.00617.82
8.4.120.0150.00524.14
8.4.110.0070.00922.36
8.4.100.0110.00917.70
8.4.90.0050.00622.59
8.4.80.0080.00218.90
8.4.70.0070.01219.16
8.4.60.0160.00324.32
8.4.50.0040.00518.67
8.4.40.0130.00617.81
8.4.30.0060.00318.68
8.4.20.0070.01320.88
8.4.10.0040.01217.46
8.3.280.0120.00718.72
8.3.270.0100.01116.86
8.3.260.0120.00716.63
8.3.250.0120.00518.80
8.3.240.0120.00617.03
8.3.230.0150.00416.75
8.3.220.0130.00618.82
8.3.210.0100.00916.56
8.3.200.0150.00416.86
8.3.190.0050.00317.17
8.3.180.0060.01018.89
8.3.170.0100.01016.65
8.3.160.0120.00317.13
8.3.150.0090.00617.02
8.3.140.0080.00017.02
8.3.130.0110.00718.55
8.3.120.0050.00518.76
8.3.110.0070.00420.94
8.3.100.0080.00024.06
8.3.90.0090.00626.77
8.3.80.0030.00618.31
8.3.70.0070.01016.75
8.3.60.0120.00618.50
8.3.50.0110.00823.57
8.3.40.0130.00718.79
8.3.30.0190.00419.09
8.3.20.0000.00724.18
8.3.10.0100.00724.66
8.3.00.0080.00026.16
8.2.290.0130.00618.89
8.2.280.0040.00518.85
8.2.270.0000.00816.63
8.2.260.0040.01516.43
8.2.250.0080.00018.60
8.2.240.0080.00417.16
8.2.230.0040.00422.58
8.2.220.0040.00437.54
8.2.210.0060.00326.77
8.2.200.0030.00616.88
8.2.190.0120.00916.63
8.2.180.0130.00725.92
8.2.170.0070.00722.96
8.2.160.0070.01322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00821.19
8.2.110.0060.00321.16
8.2.100.0080.00320.48
8.2.90.0030.00517.96
8.2.80.0070.00019.39
8.2.70.0040.00417.80
8.2.60.0030.00617.61
8.2.50.0040.00418.04
8.2.40.0030.00518.09
8.2.30.0080.00017.98
8.2.20.0040.00418.02
8.2.10.0050.00319.16
8.2.00.0040.00419.20
8.1.330.0120.00621.80
8.1.320.0110.00718.04
8.1.310.0030.00516.53
8.1.300.0130.00719.48
8.1.290.0040.00430.84
8.1.280.0140.00725.92
8.1.270.0090.00022.07
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00622.09
8.1.230.0030.00719.16
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.38
8.1.190.0000.00817.36
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0040.00818.76
8.1.150.0000.00718.76
8.1.140.0030.00318.78
8.1.130.0040.00420.01
8.1.120.0070.00017.40
8.1.110.0070.00017.38
8.1.100.0040.00417.52
8.1.90.0030.00317.44
8.1.80.0050.00217.60
8.1.70.0000.00717.58
8.1.60.0020.00517.57
8.1.50.0040.00417.49
8.1.40.0040.00417.46
8.1.30.0050.00317.59
8.1.20.0080.00017.60
8.1.10.0050.00317.66
8.1.00.0030.00717.44
8.0.300.0000.00719.82
8.0.290.0040.00416.63
8.0.280.0070.00018.43
8.0.270.0030.00318.01
8.0.260.0000.00718.40
8.0.250.0030.00316.93
8.0.240.0000.00716.88
8.0.230.0000.00717.04
8.0.220.0030.00316.98
8.0.210.0070.00016.85
8.0.200.0050.00217.00
8.0.190.0040.00416.94
8.0.180.0030.00516.97
8.0.170.0050.00317.00
8.0.160.0040.00416.96
8.0.150.0040.00416.82
8.0.140.0080.00016.81
8.0.130.0070.00013.36
8.0.120.0060.00316.83
8.0.110.0000.00717.02
8.0.100.0040.00416.96
8.0.90.0030.00617.05
8.0.80.0110.00716.93
8.0.70.0050.00216.87
8.0.60.0000.00816.85
8.0.50.0050.00216.86
8.0.30.0040.01417.41
8.0.20.0030.01917.26
8.0.10.0000.00816.96
8.0.00.0060.01216.83
7.4.330.0020.00215.55
7.4.320.0040.00416.63
7.4.300.0030.00316.60
7.4.290.0040.00416.73
7.4.280.0040.00416.63
7.4.270.0040.00416.71
7.4.260.0030.00313.47
7.4.250.0080.00016.58
7.4.240.0020.00516.74
7.4.230.0030.00316.80
7.4.220.0040.00316.79
7.4.210.0120.00416.73
7.4.200.0070.00016.54
7.4.130.0110.01216.53
7.4.120.0140.01016.61
7.4.110.0100.00716.50
7.4.100.0060.01216.53
7.4.90.0030.01616.71
7.4.80.0070.01019.39
7.4.70.0030.01416.55
7.4.60.0090.00916.45
7.4.50.0130.00316.60
7.4.40.0030.01416.36
7.4.30.0120.00616.64
7.4.20.0060.01216.59
7.4.10.0090.00616.36
7.4.00.0030.01316.64
7.3.330.0040.00416.29
7.3.320.0060.00013.17
7.3.310.0040.00416.28
7.3.300.0000.00616.27
7.3.290.0100.00616.29
7.3.280.0040.01416.29
7.3.260.0180.00616.28
7.3.240.0090.01116.50
7.3.230.0070.01416.34
7.3.210.0030.01316.48
7.3.200.0030.01316.64
7.3.190.0120.00916.41
7.3.180.0030.01416.73
7.3.170.0030.01216.52
7.3.160.0130.00716.24
7.3.150.0110.00616.50
7.3.140.0030.01316.20
7.3.130.0130.00316.46
7.3.120.0060.00916.20
7.3.110.0070.01016.34
7.3.100.0110.00516.31
7.3.90.0030.01316.21
7.3.80.0100.00616.20
7.3.70.0100.00616.36
7.3.60.0130.00316.38
7.3.50.0080.00816.37
7.3.40.0130.00316.23
7.3.30.0100.00716.43
7.3.20.0070.01016.34
7.3.10.0170.00716.31
7.3.00.0120.00316.23
7.2.330.0130.01016.54
7.2.320.0000.01716.41
7.2.310.0110.00516.47
7.2.300.0090.00916.75
7.2.290.0130.00616.49
7.2.280.0100.00616.68
7.2.270.0090.00916.48
7.2.260.0070.01016.46
7.2.250.0030.01416.59
7.2.240.0050.01116.64
7.2.230.0000.01716.50
7.2.220.0100.00716.41
7.2.210.0100.00716.66
7.2.200.0090.00916.49
7.2.190.0060.00916.37
7.2.180.0070.01016.64
7.2.170.0120.00416.35
7.2.160.0070.01116.57
7.2.150.0120.01216.53
7.2.140.0110.00716.70
7.2.130.0070.01016.59
7.2.120.0100.00716.66
7.2.110.0090.00916.68
7.2.100.0110.00816.51
7.2.90.0050.01416.38
7.2.80.0100.01016.50
7.2.70.0030.01916.53
7.2.60.0100.01216.54
7.2.50.0100.01016.55
7.2.40.0690.00016.48
7.2.30.0040.01516.44
7.2.20.0120.00616.71
7.2.10.0030.01316.55
7.2.00.0130.00516.57

preferences:
42.28 ms | 403 KiB | 5 Q