3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Lorem ipsum dolor sit amet, consetetur sadipscing www.loremipsum.com/asd/fgh/jkl elitr, sed diam '; $regex= '#www\.\S+#'; preg_match_all($regex,$string, $matches); var_dump($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.3.60.0160.00616.75
8.3.50.0150.00816.36
8.3.40.0070.00718.92
8.3.30.0150.00018.67
8.3.20.0090.00020.29
8.3.10.0080.00022.08
8.3.00.0040.00423.50
8.2.180.0080.00816.63
8.2.170.0100.01022.96
8.2.160.0070.00719.24
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00421.23
8.2.120.0050.00226.35
8.2.110.0090.00921.04
8.2.100.0130.00017.91
8.2.90.0030.00519.17
8.2.80.0030.00617.97
8.2.70.0090.00017.63
8.2.60.0000.00817.93
8.2.50.0070.00018.16
8.2.40.0000.00822.34
8.2.30.0000.00719.21
8.2.20.0040.00418.05
8.2.10.0040.00418.11
8.2.00.0040.00417.88
8.1.280.0150.00625.92
8.1.270.0060.00320.71
8.1.260.0070.00726.35
8.1.250.0050.00228.09
8.1.240.0040.00421.29
8.1.230.0000.01120.23
8.1.220.0030.00517.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0030.00517.35
8.1.180.0000.00818.10
8.1.170.0040.00418.48
8.1.160.0000.00718.83
8.1.150.0040.00420.00
8.1.140.0070.00019.53
8.1.130.0000.00717.56
8.1.120.0000.00717.44
8.1.110.0000.00817.43
8.1.100.0000.00817.45
8.1.90.0070.00017.41
8.1.80.0000.00717.51
8.1.70.0000.00717.52
8.1.60.0040.00417.63
8.1.50.0060.00317.54
8.1.40.0040.00417.53
8.1.30.0000.00817.62
8.1.20.0000.00917.77
8.1.10.0040.00417.58
8.1.00.0080.00017.66
8.0.300.0080.00018.77
8.0.290.0070.00016.88
8.0.280.0040.00418.44
8.0.270.0070.00017.21
8.0.260.0070.00016.94
8.0.250.0070.00016.92
8.0.240.0030.00617.01
8.0.230.0000.00917.04
8.0.220.0040.00316.92
8.0.210.0050.00316.93
8.0.200.0060.00017.01
8.0.190.0030.00616.99
8.0.180.0000.00716.97
8.0.170.0070.00017.02
8.0.160.0000.00716.80
8.0.150.0000.00716.81
8.0.140.0000.00716.89
8.0.130.0030.00313.35
8.0.120.0000.00716.86
8.0.110.0040.00416.93
8.0.100.0000.00716.99
8.0.90.0050.00217.08
8.0.80.0110.00716.98
8.0.70.0070.00016.85
8.0.60.0040.00416.82
8.0.50.0040.00416.82
8.0.30.0110.00717.19
8.0.20.0100.01117.40
8.0.10.0000.00717.20
8.0.00.0070.01016.87
7.4.330.0000.00515.55
7.4.320.0030.00316.69
7.4.300.0000.00716.54
7.4.290.0050.00516.62
7.4.280.0000.00716.64
7.4.270.0100.00016.66
7.4.260.0000.00716.65
7.4.250.0070.00016.57
7.4.240.0000.00716.60
7.4.230.0070.00016.74
7.4.220.0100.00916.68
7.4.210.0070.00916.69
7.4.200.0050.00316.72
7.4.160.0060.01016.66
7.4.150.0110.00617.40
7.4.140.0100.01017.86
7.4.130.0090.01516.74
7.4.120.0140.00716.69
7.4.110.0130.00316.77
7.4.100.0090.00916.43
7.4.90.0080.00916.75
7.4.80.0060.01019.39
7.4.70.0070.01516.48
7.4.60.0100.00716.56
7.4.50.0060.01016.59
7.4.40.0110.01116.67
7.4.30.0030.01316.51
7.4.00.0070.00715.28
7.3.330.0000.00513.26
7.3.320.0050.00013.08
7.3.310.0050.00216.29
7.3.300.0000.00616.36
7.3.290.0030.00316.37
7.3.280.0100.00616.32
7.3.270.0070.01017.40
7.3.260.0120.01016.70
7.3.250.0100.00916.57
7.3.240.0080.00916.62
7.3.230.0090.01216.64
7.3.210.0060.01116.64
7.3.200.0100.00616.73
7.3.190.0080.00816.60
7.3.180.0080.00816.79
7.3.170.0110.00716.41
7.3.160.0070.01016.39
7.3.10.0160.00316.12
7.3.00.0040.01516.33
7.2.330.0120.00616.54
7.2.320.0060.01116.61
7.2.310.0100.00716.51
7.2.300.0060.01216.50
7.2.290.0070.01016.54
7.2.130.0170.00316.24
7.2.120.0110.01116.59
7.2.110.0150.00716.65
7.2.100.0130.01016.63
7.2.90.0090.01016.41
7.2.80.0130.00716.51
7.2.70.0150.00816.76
7.2.60.0060.01016.66
7.2.50.0170.00416.68
7.2.40.0100.01416.52
7.2.30.0000.01816.43
7.2.20.0190.00316.61
7.2.10.0180.00716.45
7.2.00.0060.01217.02
7.1.250.0110.00715.07
7.1.200.0000.01516.04
7.1.90.0090.00618.46
7.1.80.0030.00918.43
7.1.70.0030.01017.21
7.1.60.0190.00634.73
7.1.50.0120.01234.62
7.1.40.0130.01334.29
7.1.30.0130.01334.39
7.1.20.0130.01334.60
7.1.10.0000.01316.93
7.1.00.0000.01317.00
7.0.230.0060.00618.12
7.0.220.0090.00317.74
7.0.210.0000.01216.50
7.0.200.0080.00416.77
7.0.190.0030.00916.76
7.0.180.0030.01016.34
7.0.170.0000.01116.27
7.0.160.0060.00616.32
7.0.150.0040.00816.33
7.0.140.0090.00316.39
7.0.130.0040.00816.75
7.0.120.0060.00616.93
7.0.110.0030.01016.41
7.0.100.0090.00316.53
7.0.90.0030.00916.52
7.0.80.0050.00816.59
7.0.70.0000.01216.58
7.0.60.0030.00916.36
7.0.50.0040.00716.49
7.0.40.0060.00616.44
7.0.30.0040.00816.74
7.0.20.0040.00816.64
7.0.10.0040.00816.54
7.0.00.0000.01216.65

preferences:
44.54 ms | 401 KiB | 5 Q