3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = 'http://cdn.videourl.mp4?expire=1635939248&token=7022dbc14de970c7uc040ac4f35058f0 http://cdn.videourl.mp4?token=7022dbc14de970c7uc040ac4f35058f0&expire=1635939248'; preg_match_all('/http\S*?\.mp4\?(?:expire=(?P<expire>[0-9]+)&token=(?P<token>[0-9a-z]+)|token=(?P<token>[0-9a-z]+)&expire=(?P<expire>[0-9]+))/J', $html, $posts, // will contain the article data PREG_SET_ORDER // formats data into an array of posts ); var_dump($posts);

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.0120.00816.74
8.5.00.0080.01420.13
8.4.150.0020.00114.05
8.4.140.0130.00817.60
8.4.130.0100.01120.65
8.4.120.0110.00922.37
8.4.110.0130.00618.73
8.4.100.0090.00818.69
8.4.90.0090.00820.61
8.4.80.0090.00918.37
8.4.70.0120.00818.32
8.4.60.0120.00819.07
8.4.50.0060.00319.55
8.4.40.0040.00417.86
8.4.30.0070.01320.57
8.4.20.0180.00417.96
8.4.10.0090.00017.94
8.3.280.0140.00718.58
8.3.270.0100.01016.82
8.3.260.0110.00916.58
8.3.250.0110.00817.17
8.3.240.0080.01116.60
8.3.230.0050.00316.48
8.3.220.0110.00718.84
8.3.210.0130.00518.38
8.3.200.0060.00216.66
8.3.190.0060.00217.06
8.3.180.0130.00618.64
8.3.170.0060.00317.01
8.3.160.0100.00916.54
8.3.150.0100.01020.69
8.3.140.0000.01616.79
8.3.130.0070.00716.71
8.3.120.0100.00018.55
8.3.110.0110.00720.94
8.3.100.0030.00724.06
8.3.90.0060.00326.77
8.3.80.0030.00616.63
8.3.70.0110.00416.63
8.3.60.0150.00916.50
8.3.50.0110.01120.07
8.3.40.0040.01118.88
8.3.30.0080.00818.63
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0030.00526.16
8.2.290.0110.00620.54
8.2.280.0100.00520.04
8.2.270.0140.00417.17
8.2.260.0190.00018.56
8.2.250.0150.00016.87
8.2.240.0090.00919.14
8.2.230.0080.00022.58
8.2.220.0090.00037.54
8.2.210.0090.00626.77
8.2.200.0090.00416.63
8.2.190.0090.00916.58
8.2.180.0000.01525.92
8.2.170.0040.01118.96
8.2.160.0090.00622.96
8.2.150.0090.00025.66
8.2.140.0070.00724.66
8.2.130.0040.00426.16
8.2.120.0050.00221.15
8.2.110.0090.00021.03
8.2.100.0110.00017.84
8.2.90.0040.00418.03
8.2.80.0030.00619.16
8.2.70.0000.00917.63
8.2.60.0050.00317.63
8.2.50.0080.00017.75
8.2.40.0040.00419.60
8.2.30.0080.00017.80
8.2.20.0000.00719.45
8.2.10.0060.00517.68
8.2.00.0040.00818.37
8.1.330.0080.01121.97
8.1.320.0120.00716.43
8.1.310.0030.00616.82
8.1.300.0090.00018.20
8.1.290.0040.00418.88
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.91
8.1.230.0070.00420.89
8.1.220.0030.00617.74
8.1.210.0060.00318.84
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0000.00717.70
8.1.160.0050.00318.81
8.1.150.0040.00418.79
8.1.140.0020.00817.48
8.1.130.0070.00318.09
8.1.120.0060.00417.53
8.1.110.0050.00517.54
8.1.100.0050.00617.54
8.1.90.0040.00617.52
8.1.80.0030.00717.45
8.1.70.0080.00317.56
8.1.60.0060.00317.61
8.1.50.0040.00717.64
8.1.40.0040.00617.58
8.1.30.0070.00617.64
8.1.20.0090.00317.70
8.1.10.0050.00717.59
8.1.00.0030.00717.58
8.0.300.0040.00420.09
8.0.290.0040.00416.75
8.0.280.0070.00018.10
8.0.270.0100.00716.89
8.0.260.0030.00817.57
8.0.250.0100.00216.93
8.0.240.0100.00316.96
8.0.230.0080.00516.97
8.0.220.0070.00516.84
8.0.210.0070.00416.88
8.0.200.0060.00716.91
8.0.190.0110.00216.93
8.0.180.0050.00816.89
8.0.170.0080.00516.97
8.0.160.0100.00316.89
8.0.150.0080.00316.83
8.0.140.0070.00716.79
8.0.130.0050.00415.73
8.0.120.0080.00515.71
8.0.110.0060.00815.68
8.0.100.0110.00415.69
8.0.90.0150.00015.76
8.0.80.0120.00315.71
8.0.70.0140.00615.69
8.0.60.0110.00515.62
8.0.50.0110.00415.68
8.0.30.0100.00415.70
8.0.20.0130.00215.80
8.0.10.0090.00615.85
8.0.00.0100.00215.88
7.4.330.0080.00315.92
7.4.320.0060.00616.64
7.4.300.0050.00816.58
7.4.290.0050.00816.55
7.4.280.0090.00516.62
7.4.270.0100.00516.60
7.4.260.0150.00115.55
7.4.250.0100.00515.51
7.4.240.0120.00615.59
7.4.230.0170.00215.57
7.4.220.0090.00715.55
7.4.210.0140.00215.48
7.4.200.0120.00515.56
7.4.190.0090.00715.58
7.4.180.0140.00115.63
7.4.160.0080.00815.60
7.4.150.0100.00715.63
7.4.140.0090.00715.51
7.4.130.0110.00515.53
7.4.120.0130.00315.56
7.4.110.0090.00515.45
7.4.100.0090.00515.63
7.4.90.0100.00515.49
7.4.80.0100.00515.46
7.4.70.0090.00515.54
7.4.60.0080.00615.55
7.4.50.0120.00415.36
7.4.40.0120.00415.38
7.4.30.0110.00515.41
7.4.20.0080.00815.38
7.4.10.0140.00215.44
7.4.00.0130.00415.34
7.3.330.0090.00616.31
7.3.320.0100.00615.23
7.3.310.0140.00215.29
7.3.300.0140.00215.21
7.3.290.0110.00615.15
7.3.280.0120.00515.14
7.3.270.0130.00515.21
7.3.260.0160.00115.29
7.3.250.0120.00515.26
7.3.240.0150.00215.21
7.3.230.0130.00415.13
7.3.220.0120.00615.16
7.3.210.0100.00615.15
7.3.200.0110.00515.25
7.3.190.0130.00315.22
7.3.180.0120.00315.12
7.3.170.0120.00315.25
7.3.160.0110.00415.18
7.3.150.0090.00515.24
7.3.140.0120.00515.20
7.3.130.0070.00815.19
7.3.120.0110.00515.21
7.3.110.0120.00515.10
7.3.100.0110.00415.18
7.3.90.0100.00415.50
7.3.80.0110.00315.28
7.3.70.0090.00415.30
7.3.60.0120.00115.33
7.3.50.0070.00615.27
7.3.40.0070.00615.35
7.3.30.0090.00415.26
7.3.20.0130.00217.16
7.3.10.0080.00616.99
7.3.00.0080.00716.98

preferences:
38.95 ms | 403 KiB | 5 Q