3v4l.org

run code in 500+ PHP versions simultaneously
<?php $output = <<<EOF <span class="wine-list-item-head"> <span class="wine-list-item-title"><h2><a href="/wine/2001-gigault-cotes-de-blaye-750-ml">2001 Gigault Cotes de Blaye</a></h2></span> <span class="wine-list-item-varietal">Red Blend</span> <span class="wine-list-item-format">750 ml</span> </span> <span class="wine-list-item-ratings"> <span class="wine-list-item-score"><span class="pre-score">wa</span>88</span> <span class="wine-list-item-score"><span class="pre-score">ws</span>86</span> </span> EOF; $french_wine_formats_pattern = '!<span class="wine-list-item-format">(.*)</span>!mi'; preg_match_all($french_wine_formats_pattern, $output, $french_wines_formats_matches); foreach($french_wines_formats_matches[0] as $french_wines_formats_match){ $french_wines_format_array[] = $french_wines_formats_match; } print_r($french_wines_format_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.90.0090.00516.95
8.5.80.0080.00616.88
8.5.70.0080.00617.96
8.5.60.0080.00516.98
8.5.50.0040.00417.69
8.5.40.0070.00416.89
8.5.30.0110.00418.92
8.5.20.0080.00817.99
8.5.10.0120.01016.85
8.5.00.0110.00718.50
8.4.240.0110.00519.81
8.4.230.0150.00720.54
8.4.220.0100.00620.65
8.4.210.0140.00719.59
8.4.200.0120.00919.96
8.4.190.0110.00619.86
8.4.180.0170.00919.84
8.4.170.0140.00820.30
8.4.160.0110.00821.10
8.4.150.0070.00617.93
8.4.140.0100.00617.86
8.4.130.0060.00619.17
8.4.120.0110.00420.96
8.4.110.0080.00819.14
8.4.100.0070.00418.33
8.4.90.0110.00619.34
8.4.80.0050.00518.36
8.4.70.0090.00719.23
8.4.60.0100.00618.39
8.4.50.0100.00519.20
8.4.40.0080.00719.60
8.4.30.0110.00720.97
8.4.20.0110.00418.96
8.4.10.0090.00518.73
8.3.330.0100.00619.59
8.3.320.0100.00619.49
8.3.310.0070.00819.55
8.3.300.0090.00520.54
8.3.290.0070.00920.53
8.3.280.0100.00618.58
8.3.270.0080.00916.85
8.3.260.0100.00417.48
8.3.250.0100.00617.93
8.3.240.0070.00416.96
8.3.230.0100.00517.61
8.3.220.0090.00617.87
8.3.210.0100.00516.71
8.3.200.0060.00616.73
8.3.190.0120.00616.86
8.3.180.0080.00518.89
8.3.170.0120.00317.68
8.3.160.0100.00717.15
8.3.150.0120.00516.83
8.3.140.0100.00819.64
8.3.130.0060.00618.53
8.3.120.0040.00519.00
8.3.110.0080.00118.97
8.3.100.0070.00421.26
8.3.90.0060.00922.65
8.3.80.0090.00518.54
8.3.70.0110.00417.75
8.3.60.0070.01018.53
8.3.50.0040.00918.56
8.3.40.0120.00118.52
8.3.30.0080.00418.50
8.3.20.0040.00419.53
8.3.10.0040.00519.49
8.3.00.0020.00621.04
8.2.330.0090.00519.70
8.2.320.0090.00619.12
8.2.310.0080.00719.93
8.2.300.0080.00621.05
8.2.290.0100.00818.54
8.2.280.0120.00717.57
8.2.270.0140.00816.88
8.2.260.0130.00617.61
8.2.250.0090.00417.65
8.2.240.0070.00716.86
8.2.230.0140.00619.55
8.2.220.0110.00127.03
8.2.210.0110.00221.49
8.2.200.0120.00217.75
8.2.190.0140.00616.88
8.2.180.0160.00516.88
8.2.170.0100.00620.55
8.2.160.0140.00320.04
8.2.150.0070.00521.09
8.2.140.0090.00621.22
8.2.130.0100.00417.98
8.2.120.0110.00422.14
8.2.110.0080.00620.12
8.2.100.0100.00417.96
8.2.90.0120.00718.83
8.2.80.0100.00518.74
8.2.70.0110.00317.98
8.2.60.0050.00618.11
8.2.50.0090.00517.99
8.2.40.0070.00618.82
8.2.30.0060.00818.56
8.2.20.0050.00817.98
8.2.10.0160.00418.72
8.2.00.0070.00518.04
8.1.340.0180.00717.66
8.1.330.0150.00519.14
8.1.320.0190.00817.33
8.1.310.0090.00316.64
8.1.300.0120.00818.29
8.1.290.0120.00223.59
8.1.280.0120.01021.13
8.1.270.0160.00418.92
8.1.260.0140.00522.10
8.1.250.0150.00423.06
8.1.240.0090.00620.75
8.1.230.0100.00820.31
8.1.220.0100.00517.76
8.1.210.0120.00518.25
8.1.200.0120.00718.46
8.1.190.0180.00517.56
8.1.180.0100.00517.88
8.1.170.0090.00918.19
8.1.160.0090.00819.22
8.1.150.0090.00618.36
8.1.140.0100.00519.89
8.1.130.0120.00419.03
8.1.120.0120.00717.75
8.1.110.0070.01017.73
8.1.100.0090.00618.49
8.1.90.0090.00817.59
8.1.80.0090.00317.69
8.1.70.0090.00218.53
8.1.60.0100.00517.72
8.1.50.0060.00417.78
8.1.40.0080.00217.76
8.1.30.0090.00517.82
8.1.20.0080.00517.89
8.1.10.0100.00417.85
8.1.00.0070.00518.59
8.0.300.0080.00318.62
8.0.290.0130.00417.93
8.0.280.0080.00817.76
8.0.270.0110.00217.12
8.0.260.0130.00518.67
8.0.250.0100.00517.32
8.0.240.0090.00517.13
8.0.230.0090.00618.06
8.0.220.0100.00517.92
8.0.210.0150.00317.06
8.0.200.0120.00417.00
8.0.190.0130.00717.99
8.0.180.0080.00617.03
8.0.170.0050.00817.08
8.0.160.0090.00417.11
8.0.150.0060.00616.99
8.0.140.0040.00517.15
8.0.130.0060.00415.36
8.0.120.0080.00217.94
8.0.110.0070.00317.10
8.0.100.0030.00617.88
8.0.90.0030.00716.99
8.0.80.0060.00918.09
8.0.70.0030.00617.91
8.0.60.0070.00217.11
8.0.50.0050.00418.07
8.0.30.0120.00617.78
8.0.20.0060.00918.12
8.0.10.0060.00317.24
8.0.00.0110.00717.08
7.4.330.0020.00517.16
7.4.320.0050.00416.87
7.4.300.0060.00216.88
7.4.290.0050.00417.67
7.4.280.0060.00317.78
7.4.270.0060.00216.87
7.4.260.0060.00316.77
7.4.250.0080.00117.62
7.4.240.0050.00317.65
7.4.230.0070.00216.66
7.4.220.0080.00316.68
7.4.210.0070.00816.88
7.4.200.0070.00217.81
7.4.190.0050.00417.05
7.4.180.0030.00616.99
7.4.160.0050.01217.14
7.4.150.0080.00218.75
7.4.140.0100.00717.43
7.4.130.0080.00816.81
7.4.120.0110.00216.86
7.4.110.0080.00716.78
7.4.100.0060.00817.77
7.4.90.0060.01017.45
7.4.80.0090.00518.94
7.4.70.0080.00717.74
7.4.60.0040.00917.64
7.4.50.0040.00817.43
7.4.40.0060.00817.75
7.4.30.0060.00418.73
7.4.20.0040.00516.82
7.4.10.0080.00516.90
7.4.00.0070.00715.71
7.3.330.0090.00315.06
7.3.320.0050.00716.02
7.3.310.0040.00616.76
7.3.300.0040.00417.61
7.3.290.0070.00316.61
7.3.280.0050.01016.95
7.3.270.0020.00618.52
7.3.260.0130.00716.60
7.3.250.0160.00316.71
7.3.240.0070.00916.99
7.3.230.0110.00117.58
7.3.220.0050.00318.45
7.3.210.0100.00317.58
7.3.200.0020.01017.53
7.3.190.0090.00617.59
7.3.180.0080.00517.60
7.3.170.0070.00617.55
7.3.160.0070.00817.61
7.3.150.0090.00318.34
7.3.140.0040.00516.87
7.3.130.0040.00416.75
7.3.120.0050.00716.67
7.3.110.0060.00616.79
7.3.100.0030.00816.57
7.3.90.0080.00416.85
7.3.80.0070.00216.84
7.3.70.0060.00716.79
7.3.60.0040.00816.71
7.3.50.0050.00616.68
7.3.40.0060.00616.87
7.3.30.0060.00715.83
7.3.20.2480.00516.31
7.3.10.2350.01016.56
7.3.00.2570.00516.68
7.2.340.0060.00218.58
7.2.330.0110.00516.85
7.2.320.0110.00416.73
7.2.310.0090.00816.78
7.2.300.0140.00717.75
7.2.290.0100.00617.63
7.2.280.0140.00316.72
7.2.270.0200.00816.87
7.2.260.0150.00916.62
7.2.250.0120.01315.85
7.2.240.0140.00716.80
7.2.230.0130.00715.83
7.2.220.0140.01015.98
7.2.210.0140.01115.97
7.2.200.0180.00816.02
7.2.190.0150.01015.93
7.2.180.0150.00816.07
7.2.170.0090.00916.08
7.2.160.0110.00616.85
7.2.150.4040.00716.76
7.2.140.2920.00716.97
7.2.130.3300.00516.79
7.2.120.1670.01016.80
7.2.110.3410.00416.91
7.2.100.3760.00816.97
7.2.90.1490.01016.88
7.2.80.1560.00716.70
7.2.70.2040.01116.79
7.2.60.4300.00916.94
7.2.50.1000.00916.71
7.2.40.1170.00516.91
7.2.30.3100.00516.98
7.2.20.0850.01116.92
7.2.10.1160.00616.80
7.2.00.1330.00916.97
7.1.330.0100.00716.78
7.1.320.0110.00816.79
7.1.310.0050.00416.86
7.1.300.0080.00616.76
7.1.290.0070.00416.74
7.1.280.0060.00616.76
7.1.270.0120.00516.75
7.1.260.0110.00416.81
7.1.250.0790.00415.66
7.1.240.0160.00517.39
7.1.230.0120.00717.61
7.1.220.0120.00817.61
7.1.210.0150.00317.44
7.1.200.0100.00817.43
7.1.190.0120.01017.71
7.1.180.0130.00617.49
7.1.170.0140.00217.61
7.1.160.0170.00517.61
7.1.150.0110.00417.77
7.1.140.0150.00517.77
7.1.130.0070.00417.71
7.1.120.0070.00217.59
7.1.110.0170.00517.73
7.1.100.0140.00817.67
7.1.90.0150.00417.54
7.1.80.0120.00317.67
7.1.70.0060.00617.33
7.1.60.0190.01017.77
7.1.50.0170.00417.64
7.1.40.0160.00517.77
7.1.30.0110.00617.73
7.1.20.0070.01117.60
7.1.10.0140.00617.73
7.1.00.0100.00917.66

preferences:
45.62 ms | 1743 KiB | 5 Q