3v4l.org

run code in 300+ PHP versions simultaneously
<?php $decoded = html_entity_decode('&#65534;'); $result = preg_match('/./su', $decoded, $matches); var_dump($result); var_dump($matches); var_dump(PCRE_VERSION); if (!preg_match('/./su', $decoded)) { throw new \InvalidArgumentException("Received invalid UTF-8 for string column"); }

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.3.70.0160.00016.63
8.3.60.0070.01018.43
8.3.50.0100.00719.35
8.3.40.0080.00818.69
8.3.30.0070.00718.88
8.3.20.0040.00420.82
8.3.10.0040.00423.57
8.3.00.0040.00420.69
8.2.190.0120.00316.58
8.2.180.0000.01517.00
8.2.170.0070.00722.96
8.2.160.0070.00720.48
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00821.00
8.2.110.0090.00019.38
8.2.100.0120.00317.84
8.2.90.0080.00018.16
8.2.80.0040.00417.97
8.2.70.0080.00017.75
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0060.00318.22
8.2.30.0050.00318.08
8.2.20.0040.00418.03
8.2.10.0000.00719.32
8.2.00.0000.00818.08
8.1.280.0090.00625.92
8.1.270.0040.00422.19
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00323.83
8.1.230.0070.00420.90
8.1.220.0050.00317.74
8.1.210.0000.00819.05
8.1.200.0030.00617.48
8.1.190.0000.00817.47
8.1.180.0060.00318.10
8.1.170.0000.00818.71
8.1.160.0050.00218.91
8.1.150.0050.00218.96
8.1.140.0030.00518.95
8.1.130.0030.00520.14
8.1.120.0080.00017.54
8.1.110.0040.00417.52
8.1.100.0000.00717.56
8.1.90.0040.00417.56
8.1.80.0040.00417.59
8.1.70.0030.00317.58
8.1.60.0100.00017.61
8.1.50.0090.00017.55
8.1.40.0000.01017.60
8.1.30.0040.00417.63
8.1.20.0030.00617.80
8.1.10.0000.00817.63
8.1.00.0050.00317.63
8.0.300.0040.00419.92
8.0.290.0040.00417.00
8.0.280.0030.00318.37
8.0.270.0030.00317.03
8.0.260.0030.00318.44
8.0.250.0030.00317.13
8.0.240.0040.00417.02
8.0.230.0030.00517.09
8.0.220.0030.00317.08
8.0.210.0070.00016.96
8.0.200.0030.00517.16
8.0.190.0030.00617.11
8.0.180.0030.00517.15
8.0.170.0080.00017.08
8.0.160.0000.00717.06
8.0.150.0000.00717.02
8.0.140.0000.00717.07
8.0.130.0000.00613.52
8.0.120.0040.00417.11
8.0.110.0050.00316.93
8.0.100.0030.00517.02
8.0.90.0040.00417.08
8.0.80.0060.00917.01
8.0.70.0000.00717.13
8.0.60.0040.00416.89
8.0.50.0000.00717.11
8.0.30.0160.00417.32
8.0.20.0070.01317.12
8.0.10.0000.00717.19
8.0.00.0070.01317.02
7.4.330.0050.00016.81
7.4.320.0030.00316.76
7.4.300.0000.00616.78
7.4.290.0000.00716.59
7.4.280.0090.00016.71
7.4.270.0030.00316.73
7.4.260.0030.00316.72
7.4.250.0040.00416.68
7.4.240.0030.00316.74
7.4.230.0030.00316.80
7.4.220.0040.00416.83
7.4.210.0100.00616.80
7.4.200.0070.00016.64
7.4.160.0090.00716.63
7.4.140.0070.01117.86
7.4.130.0110.01416.58
7.4.120.0150.00316.71
7.4.110.0100.00716.71
7.4.100.0150.00916.66
7.4.90.0060.01016.66
7.4.80.0130.00419.39
7.4.70.0110.00716.60
7.4.60.0060.01316.80
7.4.50.0030.00916.51
7.4.40.0060.01316.67
7.4.00.0120.00415.06
7.3.330.0020.00213.10
7.3.320.0060.00013.18
7.3.310.0030.00316.19
7.3.300.0030.00316.36
7.3.290.0090.00616.33
7.3.280.0080.00816.33
7.3.260.0100.00916.53
7.3.240.0110.00716.40
7.3.230.0170.00616.64
7.3.210.0090.00616.40
7.3.200.0140.00316.28
7.3.190.0120.00616.54
7.3.180.0110.01116.65
7.3.170.0100.01316.36
7.3.160.0090.01216.18
7.3.40.0090.00614.79
7.3.30.0090.00914.77
7.3.20.0030.01716.71
7.3.10.0130.00916.39
7.3.00.0080.00416.77
7.2.330.0040.01416.75
7.2.320.0140.01216.67
7.2.310.0100.00616.75
7.2.300.0060.01116.81
7.2.290.0100.00716.68
7.2.170.0100.00415.12
7.2.160.0050.01114.83
7.2.150.0200.00317.09
7.2.140.0130.01016.80
7.2.130.0060.00616.83
7.2.120.0100.00716.73
7.2.110.0150.00616.85
7.2.100.0000.01216.89
7.2.90.0160.00517.06
7.2.80.0100.00317.04
7.2.70.0130.00616.61
7.2.60.0030.01417.00
7.2.50.0090.00616.93
7.2.40.0100.00316.94
7.2.30.0060.01517.00
7.2.20.0090.00516.88
7.2.10.0190.00616.88
7.2.00.0050.00816.91
7.1.280.0170.00315.89
7.1.270.0080.00515.84
7.1.260.0110.00315.74
7.1.250.0070.00315.70
7.1.240.0170.01015.84
7.1.230.0110.00315.72
7.1.220.0100.00815.77
7.1.210.0150.01215.73
7.1.200.0100.00715.69
7.1.190.0140.01215.53
7.1.180.0130.00915.75
7.1.170.0090.00315.73
7.1.160.0100.00615.65
7.1.150.0110.00715.60
7.1.140.0170.01415.74
7.1.130.0080.00815.84
7.1.120.0150.00915.73
7.1.110.0110.00815.67
7.1.100.0190.00015.76
7.1.90.0250.00315.76
7.1.80.0090.00715.73
7.1.70.0250.00315.80
7.1.60.0190.00815.59
7.1.50.0090.01415.48
7.1.40.0090.00915.85
7.1.30.0110.00415.66
7.1.20.0170.00915.54
7.1.10.0080.00815.71
7.1.00.0110.01215.51
7.0.330.0130.00915.14
7.0.320.0180.00615.64
7.0.310.0130.01015.21
7.0.300.0190.01315.17
7.0.290.0170.00615.41
7.0.280.0120.00615.52
7.0.270.0060.01015.36
7.0.260.0130.00315.59
7.0.250.0130.01015.20
7.0.240.0150.01115.47
7.0.230.0210.00915.68
7.0.220.0200.00815.46
7.0.210.0100.00715.36
7.0.200.0260.00015.36
7.0.190.0110.01115.47
7.0.180.0220.00415.10
7.0.170.0090.01215.28
7.0.160.0180.00615.45
7.0.150.0260.00015.34
7.0.140.0100.01515.43
7.0.130.0150.00215.49
7.0.120.0140.00715.50
7.0.110.0250.00715.59
7.0.100.0050.01515.46
7.0.90.0130.01415.61
7.0.80.0100.00515.36
7.0.70.0180.00315.27
7.0.60.0060.01214.98
7.0.50.0080.00815.49
7.0.40.0120.00915.17
7.0.30.0160.01015.28
7.0.20.0250.00315.54
7.0.10.0100.01015.29
7.0.00.0140.00415.21
5.6.400.0140.00714.04
5.6.390.0170.01113.83
5.6.380.0170.01014.55
5.6.370.0090.01614.50
5.6.360.0070.01714.46
5.6.350.0150.01514.02
5.6.340.0180.01214.22
5.6.330.0180.01114.21
5.6.320.0100.00714.43
5.6.310.0200.00714.21
5.6.300.0070.01414.33
5.6.290.0030.01514.02
5.6.280.0180.01214.32
5.6.270.0160.01214.43
5.6.260.0230.00714.57
5.6.250.0190.00314.46
5.6.240.0190.01014.23
5.6.230.0230.00514.38
5.6.220.0170.01714.21
5.6.210.0080.01614.17
5.6.200.0080.01014.24
5.6.190.0160.01014.20
5.6.180.0140.01014.26
5.6.170.0170.01414.41
5.6.160.0050.01014.00
5.6.150.0150.01514.17
5.6.140.0110.00614.38
5.6.130.0170.01314.48
5.6.120.0130.01314.09
5.6.110.0130.02014.11
5.6.100.0120.00414.04
5.6.90.0190.00814.25
5.6.80.0070.01014.12
5.6.70.0120.01114.07
5.6.60.0150.01213.97
5.6.50.0130.00713.96
5.6.40.0170.01513.94
5.6.30.0100.01513.99
5.6.20.0170.01414.39
5.6.10.0200.00814.07
5.6.00.0120.01214.05
5.5.380.0130.00414.39
5.5.370.0180.01314.10
5.5.360.0170.01414.65
5.5.350.0110.01414.11
5.5.340.0130.00414.09
5.5.330.0170.00814.25
5.5.320.0110.01414.27
5.5.310.0150.01114.14
5.5.300.0180.01214.12
5.5.290.0130.01014.15
5.5.280.0220.00614.22
5.5.270.0150.00914.21
5.5.260.0070.01414.05
5.5.250.0140.00313.99
5.5.240.0110.01114.28
5.5.230.0210.01014.35
5.5.220.0080.02114.18
5.5.210.0090.01814.27
5.5.200.0200.01014.05
5.5.190.0100.02014.06
5.5.180.0080.01714.14
5.5.170.0080.00814.28
5.5.160.0140.00514.11
5.5.150.0230.00913.77
5.5.140.0150.01214.02
5.5.130.0160.01214.02
5.5.120.0200.00414.00
5.5.110.0130.00714.09
5.5.100.0120.00314.36
5.5.90.0140.01014.07
5.5.80.0110.01414.23
5.5.70.0120.00614.37
5.5.60.0080.01114.13
5.5.50.0140.00513.62
5.5.40.0170.00014.26
5.5.30.0130.00313.99
5.5.20.0170.01414.38
5.5.10.0050.01814.40
5.5.00.0190.00814.34
5.4.450.0100.00511.18
5.4.440.0130.01110.86
5.4.430.0040.00911.02
5.4.420.0070.00410.90
5.4.410.0080.01210.77
5.4.400.0220.00010.97
5.4.390.0090.00410.79
5.4.380.0110.00910.84
5.4.370.0080.00411.09
5.4.360.0160.00811.27
5.4.350.0110.01111.17
5.4.340.0210.00011.08
5.4.330.0100.00011.21
5.4.320.0120.00611.21
5.4.310.0070.01511.05
5.4.300.0190.00010.87
5.4.290.0170.00611.15
5.4.280.0100.00510.76
5.4.270.0080.00310.96
5.4.260.0110.00510.96
5.4.250.0150.00910.98
5.4.240.0070.00510.88
5.4.230.0070.00310.95
5.4.220.0150.00310.71
5.4.210.0100.01011.09
5.4.200.0160.00010.94
5.4.190.0090.00311.09
5.4.180.0070.01111.12
5.4.170.0000.01211.12
5.4.160.0110.00811.04
5.4.150.0140.00310.94
5.4.140.0160.00811.32
5.4.130.0130.00511.05
5.4.120.0100.00510.81
5.4.110.0130.00010.90
5.4.100.0130.00010.91
5.4.90.0180.00010.69
5.4.80.0140.00711.13
5.4.70.0080.00510.96
5.4.60.0050.00810.96
5.4.50.0130.00810.94
5.4.40.0070.01110.96
5.4.30.0090.00610.64
5.4.20.0070.00910.94
5.4.10.0170.00310.71
5.4.00.0080.00610.67
5.3.290.0090.00310.50
5.3.280.0110.00410.45
5.3.270.0110.00010.42
5.3.260.0160.00010.53
5.3.250.0100.00710.39
5.3.240.0080.00910.41
5.3.230.0140.00010.43
5.3.220.0050.00810.33
5.3.210.0060.00610.19
5.3.200.0070.01010.32
5.3.190.0000.01310.38
5.3.180.0130.01010.48
5.3.170.0140.00010.54
5.3.160.0100.00710.53
5.3.150.0050.00510.64
5.3.140.0040.00710.53
5.3.130.0070.00310.46
5.3.120.0110.01110.50
5.3.110.0070.00710.31
5.3.100.0090.00310.37
5.3.90.0090.00310.31
5.3.80.0050.01110.23
5.3.70.0080.00510.27
5.3.60.0080.00510.43
5.3.50.0070.00710.28
5.3.40.0210.00010.23
5.3.30.0110.01110.38
5.3.20.0070.01010.36
5.3.10.0110.01110.20
5.3.00.0160.00010.13
5.2.170.0090.0089.52
5.2.160.0070.0039.61
5.2.150.0110.0009.50
5.2.140.0110.0009.37
5.2.130.0120.0039.18
5.2.120.0110.0049.18
5.2.110.0070.0059.54
5.2.100.0070.0079.46
5.2.90.0150.0039.19
5.2.80.0100.0039.41
5.2.70.0070.0039.20
5.2.60.0100.0009.38
5.2.50.0090.0069.44
5.2.40.0080.0059.45
5.2.30.0110.0059.32
5.2.20.0040.0119.16
5.2.10.0080.0089.09
5.2.00.0030.0089.18
5.1.60.0040.0098.82
5.1.50.0120.0038.82
5.1.40.0110.0038.82
5.1.30.0130.0038.82
5.1.20.0060.0038.82
5.1.10.0050.0038.82
5.1.00.0120.0028.82
5.0.50.0120.0008.82
5.0.40.0080.0058.82
5.0.30.0080.0038.82
5.0.20.0090.0038.82
5.0.10.0120.0008.82
5.0.00.0120.0038.82
4.4.90.0020.0028.82
4.4.80.0090.0038.82
4.4.70.0030.0038.82
4.4.60.0030.0038.82
4.4.50.0050.0008.82
4.4.40.0040.0048.82
4.4.30.0030.0068.82
4.4.20.0040.0088.82
4.4.10.0040.0048.82
4.4.00.0050.0058.82
4.3.110.0040.0048.82
4.3.100.0040.0078.82
4.3.90.0080.0008.82
4.3.80.0090.0038.82
4.3.70.0000.0108.82
4.3.60.0030.0088.82
4.3.50.0040.0048.82
4.3.40.0000.0078.82
4.3.30.0050.0038.82
4.3.20.0020.0058.82
4.3.10.0090.0008.82
4.3.00.0020.0048.82

preferences:
50.2 ms | 401 KiB | 5 Q