3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( preg_split("/a/u", "a\xff"), preg_match("/a/u", "a\xff", $matches), $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.1.130.0000.00720.72
8.1.120.0000.00717.52
8.1.110.0040.00417.53
8.1.100.0000.00717.45
8.1.90.0100.00017.45
8.1.80.0000.00717.41
8.1.70.0000.00917.36
8.1.60.0030.00617.52
8.1.50.0050.00317.55
8.1.40.0050.00217.43
8.1.30.0040.00417.68
8.1.20.0050.00217.72
8.1.10.0080.00417.58
8.1.00.0060.00317.59
8.0.260.0060.00016.89
8.0.250.0060.00017.03
8.0.240.0050.00316.94
8.0.230.0080.00017.03
8.0.220.0000.00716.94
8.0.210.0070.00016.82
8.0.200.0060.00317.01
8.0.190.0030.00616.94
8.0.180.0020.00516.96
8.0.170.0000.00916.90
8.0.160.0000.00716.92
8.0.150.0000.00716.86
8.0.140.0040.00416.91
8.0.130.0050.00313.36
8.0.120.0040.00416.82
8.0.110.0040.00416.76
8.0.100.0050.00316.91
8.0.90.0040.00416.83
8.0.80.0100.00716.94
8.0.70.0050.00316.83
8.0.60.0000.00816.86
8.0.50.0040.00416.86
8.0.30.0080.00817.18
8.0.20.0120.00717.40
8.0.10.0050.00316.98
8.0.00.0130.00316.81
7.4.330.0000.00515.55
7.4.320.0060.00016.73
7.4.300.0030.00316.57
7.4.290.0070.00016.56
7.4.280.0080.00016.56
7.4.270.0050.00316.59
7.4.260.0000.00716.63
7.4.250.0000.00916.65
7.4.240.0080.00016.51
7.4.230.0030.00316.55
7.4.220.0030.00516.41
7.4.210.0070.01016.48
7.4.200.0000.00716.58
7.4.160.0100.00616.56
7.4.140.0090.01117.86
7.4.130.0060.01116.51
7.4.120.0090.01016.63
7.4.110.0160.00616.59
7.4.100.0040.01616.64
7.4.90.0160.00716.65
7.4.80.0040.01219.39
7.4.70.0100.01016.55
7.4.60.0090.01216.41
7.4.50.0130.00716.44
7.4.40.0080.01216.37
7.4.30.0110.01216.51
7.4.20.0190.00516.59
7.4.10.0090.01216.62
7.4.00.0070.01316.02
7.3.330.0000.00513.08
7.3.320.0000.00713.25
7.3.310.0040.00316.18
7.3.300.0070.00016.25
7.3.290.0030.00516.37
7.3.280.0080.00816.39
7.3.260.0110.00816.64
7.3.240.0090.00716.31
7.3.230.0090.00916.64
7.3.210.0100.00716.44
7.3.200.0070.01016.21
7.3.190.0110.00416.45
7.3.180.0130.00716.51
7.3.170.0150.00516.38
7.3.160.0060.01416.31
7.3.150.0120.00916.24
7.3.140.0110.00616.40
7.3.130.0100.01016.37
7.3.120.0100.00916.27
7.3.110.0090.00816.44
7.3.100.0110.00916.44
7.3.90.0080.01016.50
7.3.80.0130.00616.53
7.3.70.0080.01216.37
7.3.60.0110.00616.44
7.3.50.0070.01216.38
7.3.40.0070.01216.24
7.3.30.0110.01115.73
7.3.20.0110.00616.96
7.3.10.0190.01216.89
7.3.00.0080.01217.01
7.2.330.0150.00316.34
7.2.320.0060.01516.59
7.2.310.0100.00716.56
7.2.300.0060.01216.57
7.2.290.0070.01416.56
7.2.280.0100.01016.61
7.2.270.0090.01016.62
7.2.260.0120.01116.51
7.2.250.0070.01116.54
7.2.240.0090.00916.50
7.2.230.0120.00616.48
7.2.220.0090.00916.53
7.2.210.0100.01116.57
7.2.200.0090.00916.54
7.2.190.0120.01116.43
7.2.180.0100.01016.52
7.2.170.0130.00916.45
7.2.160.0120.00915.93
7.2.150.0090.01317.25
7.2.140.0080.01517.24
7.2.130.0090.01017.19
7.2.120.0110.01017.14
7.2.110.0130.01117.08
7.2.100.0070.01117.18
7.2.90.0090.01117.15
7.2.80.0100.01017.39
7.2.70.0150.00617.10
7.2.60.0150.00617.25
7.2.50.0150.00717.21
7.2.40.0140.00917.18
7.2.30.0100.01117.61
7.2.20.0150.01117.60
7.2.10.0120.01017.46
7.2.00.0110.01317.44
7.1.330.0200.00916.60
7.1.320.0190.00916.53
7.1.310.0190.00916.46
7.1.300.0200.00916.38
7.1.290.0270.01516.34
7.1.280.0220.00816.31
7.1.270.0130.00916.04
7.1.260.0140.00916.18
7.1.250.0170.00816.19
7.1.240.0180.01016.12
7.1.230.0180.00916.19
7.1.220.0170.00816.22
7.1.210.0240.00516.12
7.1.200.0170.00816.02
7.1.190.0170.01016.16
7.1.180.0160.01316.22
7.1.170.0140.00816.07
7.1.160.0190.00916.14
7.1.150.0160.01016.51
7.1.140.0150.01116.48
7.1.130.0170.00816.49
7.1.120.0180.01216.53
7.1.110.0180.00816.29
7.1.100.0200.00816.28
7.1.90.0150.01016.16
7.1.80.0150.01016.20
7.1.70.0170.01115.81
7.1.60.0240.01323.03
7.1.50.0200.01422.95
7.1.40.0190.01422.82
7.1.30.0260.01122.85
7.1.20.0380.01122.49
7.1.10.0190.01115.32
7.1.00.0150.01115.43
7.0.330.0200.00815.79
7.0.320.0190.00715.83
7.0.310.0120.01015.82
7.0.300.0170.00915.83
7.0.290.0160.00916.04
7.0.280.0180.00715.91
7.0.270.0140.01016.15
7.0.260.0220.00916.17
7.0.250.0140.00915.91
7.0.240.0120.01315.98
7.0.230.0180.00815.97
7.0.220.0170.01115.92
7.0.210.0190.00815.53
7.0.200.0240.00815.57
7.0.190.0200.00815.38
7.0.180.0180.01015.33
7.0.170.0230.01015.36
7.0.160.0190.00715.28
7.0.150.0170.00814.85
7.0.140.0150.01015.08
7.0.130.0180.01015.13
7.0.120.0150.01215.13
7.0.110.0200.00915.06
7.0.100.0170.00914.98
7.0.90.0170.00915.03
7.0.80.0160.01114.89
7.0.70.0180.01114.87
7.0.60.0190.00914.91
7.0.50.0180.01015.00
7.0.40.0250.00715.12
7.0.30.0180.01015.10
7.0.20.0190.00815.13
7.0.10.0150.00815.14
7.0.00.0180.00915.06
5.6.400.0160.01415.15
5.6.390.0150.01415.05
5.6.380.0190.00615.14
5.6.370.0160.00915.07
5.6.360.0140.01515.32
5.6.350.0160.01015.06
5.6.340.0170.01015.01
5.6.330.0110.01515.28
5.6.320.0170.00715.12
5.6.310.0170.01015.11
5.6.300.0150.03217.49
5.6.290.0160.03317.44
5.6.280.0170.02917.45
5.6.270.0190.03017.37
5.6.260.0180.03017.40
5.6.250.0180.02917.32
5.6.240.0180.03317.36
5.6.230.0180.03917.45
5.6.220.0200.03417.26
5.6.210.0180.03517.43
5.6.200.0150.03917.34
5.6.190.0190.03617.39
5.6.180.0170.03517.41
5.6.170.0150.03017.50
5.6.160.0210.03117.35
5.6.150.0190.03017.26
5.6.140.0170.03117.37
5.6.130.0170.02817.34
5.6.120.0170.03217.42
5.6.110.0200.02917.52
5.6.100.0160.03217.42
5.6.90.0190.03117.22
5.6.80.0160.03117.03
5.6.70.0150.03317.13
5.6.60.0170.03317.08
5.6.50.0170.03417.08
5.6.40.0180.03417.09
5.6.30.0200.03117.17
5.6.20.0200.02817.16
5.6.10.0200.02817.13
5.6.00.0200.03017.12
5.5.380.0120.01214.32
5.5.370.0080.00814.17
5.5.360.0150.00914.07
5.5.350.0180.00714.15
5.5.340.0120.00413.90
5.5.330.0210.00814.43
5.5.320.0200.01013.96
5.5.310.0090.00614.26
5.5.300.0110.00714.23
5.5.290.0130.00414.24
5.5.280.0110.00314.24
5.5.270.0150.00714.12
5.5.260.0130.00813.87
5.5.250.0200.00714.21
5.5.240.0090.00913.96
5.5.230.0110.00314.06
5.5.220.0100.01314.03
5.5.210.0120.00614.23
5.5.200.0170.00014.17
5.5.190.0130.00914.03
5.5.180.0130.01314.18
5.5.170.0140.01213.84
5.5.160.0100.01014.21
5.5.150.0200.01013.72
5.5.140.0240.00513.97
5.5.130.0080.00714.21
5.5.120.0130.00913.93
5.5.110.0050.01413.82
5.5.100.0170.00714.14
5.5.90.0130.00313.68
5.5.80.0190.00413.88
5.5.70.0080.01514.07
5.5.60.0160.01014.00
5.5.50.0250.00014.04
5.5.40.0090.00613.73
5.5.30.0130.00314.15
5.5.20.0120.01513.96
5.5.10.0140.00814.13
5.5.00.0140.00514.04
5.4.450.0090.00311.00
5.4.440.0090.00910.86
5.4.430.0120.00211.12
5.4.420.0160.00811.15
5.4.410.0130.00310.66
5.4.400.0000.01710.64
5.4.390.0080.00410.80
5.4.380.0100.00310.79
5.4.370.0100.00310.82
5.4.360.0080.00410.61
5.4.350.0140.00310.70
5.4.340.0070.00710.64
5.4.330.0110.00310.78
5.4.320.0050.01010.90
5.4.310.0120.00010.82
5.4.300.0110.01110.69
5.4.290.0110.00610.54
5.4.280.0070.00410.76
5.4.270.0140.00810.55
5.4.260.0160.00310.84
5.4.250.0080.00410.73
5.4.240.0090.00510.76
5.4.230.0110.00410.84
5.4.220.0070.00710.88
5.4.210.0080.00810.76
5.4.200.0070.00310.98
5.4.190.0200.00310.61
5.4.180.0120.00910.99
5.4.170.0080.00510.74
5.4.160.0170.00210.62
5.4.150.0180.00010.50
5.4.140.0210.00010.92
5.4.130.0130.00610.86
5.4.120.0080.00810.92
5.4.110.0140.00610.84
5.4.100.0130.00010.72
5.4.90.0110.01010.74
5.4.80.0070.00710.85
5.4.70.0180.00210.71
5.4.60.0130.00710.80
5.4.50.0110.00310.89
5.4.40.0150.00410.76
5.4.30.0080.00610.82
5.4.20.0130.00410.77
5.4.10.0120.00010.66
5.4.00.0050.00510.92
5.3.290.0120.00910.36
5.3.280.0070.00410.12
5.3.270.0120.00210.26
5.3.260.0110.00410.11
5.3.250.0060.00610.36
5.3.240.0120.00610.17
5.3.230.0130.00310.28
5.3.220.0040.00810.33
5.3.210.0090.00410.05
5.3.200.0030.00910.05
5.3.190.0110.00610.18
5.3.180.0060.00910.57
5.3.170.0080.00410.48
5.3.160.0070.00710.41
5.3.150.0090.00510.58
5.3.140.0080.00810.30
5.3.130.0060.00610.41
5.3.120.0100.00810.24
5.3.110.0050.00510.39
5.3.100.0120.00310.36
5.3.90.0120.00310.19
5.3.80.0090.01210.11
5.3.70.0040.00810.20
5.3.60.0100.00710.34
5.3.50.0080.01210.04
5.3.40.0140.00310.21
5.3.30.0120.00710.19
5.3.20.0070.00410.40
5.3.10.0140.00410.06
5.3.00.0080.00310.11
5.2.170.0130.0029.37
5.2.160.0120.0039.20
5.2.150.0080.0049.48
5.2.140.0070.0049.15
5.2.130.0100.0009.26
5.2.120.0130.0039.37
5.2.110.0110.0009.23
5.2.100.0100.0049.12
5.2.90.0030.0119.27
5.2.80.0060.0069.22
5.2.70.0090.0099.21
5.2.60.0060.0038.84
5.2.50.0150.0009.07
5.2.40.0110.0049.22
5.2.30.0040.0139.17
5.2.20.0060.0079.18
5.2.10.0070.0058.96
5.2.00.0000.0099.10
5.1.60.0090.0008.56
5.1.50.0000.0088.56
5.1.40.0000.0088.56
5.1.30.0030.0078.56
5.1.20.0060.0098.56
5.1.10.0060.0028.56
5.1.00.0000.0118.56
5.0.50.0050.0058.56
5.0.40.0000.0138.56
5.0.30.0080.0038.56
5.0.20.0100.0038.56
5.0.10.0060.0098.56
5.0.00.0040.0088.56
4.4.90.0060.0038.56
4.4.80.0090.0008.56
4.4.70.0030.0068.56
4.4.60.0020.0078.56
4.4.50.0070.0048.56
4.4.40.0030.0038.56
4.4.30.0060.0008.56
4.4.20.0000.0108.56
4.4.10.0070.0058.56
4.4.00.0080.0048.56
4.3.110.0050.0078.56
4.3.100.0000.0118.56
4.3.90.0080.0008.56
4.3.80.0070.0028.56
4.3.70.0030.0038.56
4.3.60.0000.0048.56
4.3.50.0030.0028.56
4.3.40.0000.0108.56
4.3.30.0050.0008.56
4.3.20.0000.0138.56
4.3.10.0030.0068.56
4.3.00.0090.0008.56

preferences:
13.71 ms | 406 KiB | 5 Q