3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/(?<![^,])(?:rss-latest|listing-latest-no-category|category-128|page-9000)(?![^,])/m'; $str = 'page-9000,page-template,page-type,page-category-128,image-195,listing-latest,rss-latest,even-more-info,even-more-tags'; if (preg_match_all($re, $str, $matches)) { print_r($matches[0]); }

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.140.0100.01117.75
8.4.130.0100.00518.53
8.4.120.0140.00424.30
8.4.110.0110.00822.63
8.4.100.0120.01017.84
8.4.90.0110.01018.79
8.4.80.0060.00218.75
8.4.70.0090.01118.05
8.4.60.0100.01018.81
8.4.50.0120.00919.55
8.4.40.0200.00017.92
8.4.30.0080.01218.57
8.4.20.0100.01018.77
8.4.10.0130.00318.00
8.3.270.0140.00516.51
8.3.260.0130.00716.92
8.3.250.0150.00319.05
8.3.240.0050.00317.07
8.3.230.0140.00616.61
8.3.220.0050.00318.88
8.3.210.0090.00616.90
8.3.200.0040.00416.82
8.3.190.0040.00416.90
8.3.180.0100.01016.63
8.3.170.0030.00618.81
8.3.160.0120.00618.41
8.3.150.0100.01020.62
8.3.140.0000.00816.91
8.3.130.0030.00716.46
8.3.120.0160.00318.55
8.3.110.0050.00518.34
8.3.100.0050.00318.46
8.3.90.0070.00316.46
8.3.80.0030.00618.23
8.3.70.0140.00716.75
8.3.60.0090.00916.50
8.3.50.0060.00918.39
8.3.40.0040.01118.96
8.3.30.0140.00018.79
8.3.20.0070.00021.67
8.3.10.0040.00423.66
8.3.00.0040.00422.57
8.2.290.0120.00720.74
8.2.280.0130.00518.98
8.2.270.0110.00719.32
8.2.260.0070.01120.42
8.2.250.0090.00617.19
8.2.240.0030.00616.74
8.2.230.0000.00920.94
8.2.220.0110.00724.06
8.2.210.0070.00326.77
8.2.200.0100.00016.74
8.2.190.0080.01217.00
8.2.180.0130.00918.50
8.2.170.0110.00418.91
8.2.160.0000.01322.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0000.00726.16
8.2.120.0080.00019.79
8.2.110.0030.00722.29
8.2.100.0120.00018.03
8.2.90.0080.00018.03
8.2.80.0050.00318.03
8.2.70.0000.00818.03
8.2.60.0090.00018.09
8.2.50.0000.00818.10
8.2.40.0000.00819.48
8.2.30.0000.00719.34
8.2.20.0040.00418.04
8.2.10.0000.00719.32
8.2.00.0040.00419.09
8.1.330.0120.00621.79
8.1.320.0110.00516.20
8.1.310.0120.00617.03
8.1.300.0070.01018.32
8.1.290.0030.01018.88
8.1.280.0090.00925.92
8.1.270.0040.00422.19
8.1.260.0080.00026.35
8.1.250.0090.00028.09
8.1.240.0050.00522.20
8.1.230.0090.00620.95
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0060.00317.36
8.1.180.0000.00818.10
8.1.170.0000.00818.54
8.1.160.0040.00418.74
8.1.150.0000.00718.89
8.1.140.0000.00720.96
8.1.130.0040.00420.11
8.1.120.0000.00717.63
8.1.110.0040.00417.47
8.1.100.0040.00417.54
8.1.90.0030.00617.60
8.1.80.0000.00717.52
8.1.70.0020.00517.57
8.1.60.0080.00017.67
8.1.50.0000.00817.60
8.1.40.0090.00017.54
8.1.30.0000.00817.70
8.1.20.0080.00017.70
8.1.10.0020.00517.70
8.1.00.0040.00417.64
8.0.300.0040.00419.77
8.0.290.0040.00416.75
8.0.280.0000.00718.48
8.0.270.0080.00016.82
8.0.260.0000.00719.91
8.0.250.0030.00316.94
8.0.240.0030.00317.03
8.0.230.0030.00317.02
8.0.220.0000.00716.95
8.0.210.0030.00316.81
8.0.200.0030.00316.99
8.0.190.0000.00716.98
8.0.180.0050.00217.04
8.0.170.0040.00417.01
8.0.160.0000.00816.92
8.0.150.0040.00416.82
8.0.140.0040.00416.84
8.0.130.0000.00613.43
8.0.120.0080.00016.89
8.0.110.0050.00217.00
8.0.100.0040.00417.04
8.0.90.0060.00316.93
8.0.80.0110.00317.03
8.0.70.0030.00517.03
8.0.60.0050.00316.86
8.0.50.0000.01016.88
8.0.30.0160.00017.46
8.0.20.0110.01117.12
8.0.10.0000.00717.10
8.0.00.0080.00916.98
7.4.330.0000.00515.55
7.4.320.0000.00716.58
7.4.300.0040.00416.67
7.4.290.0050.00216.76
7.4.280.0060.00316.79
7.4.270.0000.00716.66
7.4.260.0000.00513.44
7.4.250.0000.00816.73
7.4.240.0000.00816.71
7.4.230.0030.00316.55
7.4.220.0040.00416.58
7.4.210.0070.00916.66
7.4.200.0080.00016.87
7.4.130.0150.01016.68
7.4.120.0030.01416.66
7.4.110.0030.01616.63
7.4.100.0120.00616.73
7.4.90.0070.01016.82
7.4.80.0090.01519.39
7.4.70.0110.00616.57
7.4.60.0000.01916.49
7.4.50.0040.01216.47
7.4.40.0090.00816.65
7.4.00.0090.00615.02
7.3.330.0040.00416.31
7.3.320.0000.00613.18
7.3.310.0080.00016.49
7.3.300.0020.00516.38
7.3.290.0000.00716.26
7.3.280.0110.00416.40
7.3.260.0110.00916.44
7.3.240.0110.00516.59
7.3.230.0070.01016.38
7.3.210.0060.00916.62
7.3.200.0060.00916.48
7.3.190.0060.01016.53
7.3.180.0060.00916.41
7.3.170.0090.01216.45
7.3.160.0070.01016.38
7.3.90.0030.01014.86
7.3.80.0060.00814.65
7.3.70.0040.01714.88
7.3.60.0110.00414.86
7.3.50.0120.00314.89
7.3.40.0030.01014.81
7.3.30.0110.00414.86
7.3.20.0130.00714.83
7.3.10.0180.00314.74
7.3.00.0040.01715.01
7.2.330.0070.01016.77
7.2.320.0140.00916.67
7.2.310.0060.01016.64
7.2.300.0100.01316.71
7.2.290.0150.00316.54
7.2.220.0060.00814.96
7.2.210.0080.01115.11
7.2.200.0110.00414.98
7.2.190.0070.00715.04
7.2.180.0100.00314.91
7.2.170.0070.00815.09
7.2.160.0160.00315.03
7.2.150.0070.01415.05
7.2.140.0060.00915.03
7.2.130.0070.01115.06
7.2.120.0130.00315.09
7.2.110.0060.01215.07
7.2.100.0100.00715.14
7.2.90.0100.00615.22
7.2.80.0070.01114.92
7.2.70.0080.00814.95
7.2.60.0090.00615.02
7.2.50.0090.00914.88
7.2.40.0040.02214.96
7.2.30.0110.01115.11
7.2.20.0120.00814.95
7.2.10.0070.01115.19
7.2.00.0100.00615.14
7.1.320.0080.00614.11
7.1.310.0080.01213.85
7.1.300.0120.00614.02
7.1.290.0030.01014.21
7.1.280.0100.00314.08
7.1.270.0100.01013.96
7.1.260.0070.01313.96
7.1.250.0140.00713.87

preferences:
30.67 ms | 403 KiB | 5 Q