3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(); echo (preg_match("/(.*:)star_(\d)/", "star_2", $matches)); var_dump ($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.3.60.0040.01116.50
8.3.50.0070.00716.53
8.3.40.0040.01518.97
8.3.30.0110.00718.54
8.3.20.0040.00421.77
8.3.10.0040.00421.73
8.3.00.0040.00419.52
8.2.180.0150.00318.55
8.2.170.0180.00322.96
8.2.160.0070.00720.35
8.2.150.0030.01625.66
8.2.140.0050.00324.66
8.2.130.0040.00420.43
8.2.120.0070.00026.35
8.2.110.0070.00419.19
8.2.100.0080.00418.03
8.2.90.0040.00418.00
8.2.80.0040.00417.97
8.2.70.0040.00417.80
8.2.60.0060.00618.09
8.2.50.0040.00419.72
8.2.40.0040.00420.41
8.2.30.0040.00419.25
8.2.20.0070.00318.12
8.2.10.0000.00717.88
8.2.00.0040.00418.01
8.1.280.0200.00425.92
8.1.270.0080.00020.60
8.1.260.0040.00426.35
8.1.250.0090.00028.09
8.1.240.0040.00817.48
8.1.230.0080.00317.77
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0050.00317.35
8.1.190.0000.00817.36
8.1.180.0000.00718.10
8.1.170.0050.00320.05
8.1.160.0040.00418.76
8.1.150.0000.00720.23
8.1.140.0040.00419.43
8.1.130.0000.00720.68
8.1.120.0000.00717.50
8.1.110.0040.00417.41
8.1.100.0030.00617.55
8.1.90.0030.00517.46
8.1.80.0040.00417.55
8.1.70.0040.00717.53
8.1.60.0040.00417.63
8.1.50.0000.00917.63
8.1.40.0030.00617.54
8.1.30.0040.00417.63
8.1.20.0040.00417.77
8.1.10.0050.00317.63
8.1.00.0000.00817.48
8.0.300.0000.00718.77
8.0.290.0050.00316.75
8.0.280.0040.00418.45
8.0.270.0030.00317.18
8.0.260.0030.00318.80
8.0.250.0000.00717.01
8.0.240.0070.00016.98
8.0.230.0000.00717.01
8.0.220.0040.00416.93
8.0.210.0000.00717.01
8.0.200.0030.00316.90
8.0.190.0030.00616.86
8.0.180.0070.00017.04
8.0.170.0070.00016.99
8.0.160.0040.00417.02
8.0.150.0050.00316.84
8.0.140.0030.00516.95
8.0.130.0000.00613.43
8.0.120.0000.00716.90
8.0.110.0030.00617.00
8.0.100.0000.00716.95
8.0.90.0000.00716.94
8.0.80.0040.01116.86
8.0.70.0040.00416.93
8.0.60.0080.00016.95
8.0.50.0050.00317.00
8.0.30.0090.01017.12
8.0.20.0130.00717.40
8.0.10.0050.00317.07
8.0.00.0090.00916.75
7.4.330.0000.00515.55
7.4.320.0040.00416.70
7.4.300.0000.00716.72
7.4.290.0000.00816.63
7.4.280.0090.00016.74
7.4.270.0060.00316.72
7.4.260.0080.00016.53
7.4.250.0040.00416.50
7.4.240.0000.00716.55
7.4.230.0050.00316.64
7.4.220.0070.01016.63
7.4.210.0070.01016.78
7.4.200.0070.00016.67
7.4.160.0070.00916.62
7.4.150.0080.01217.40
7.4.140.0090.01117.86
7.4.130.0120.01316.49
7.4.120.0140.00916.69
7.4.110.0160.00716.63
7.4.100.0090.00916.68
7.4.90.0070.01016.73
7.4.80.0150.00319.39
7.4.70.0120.00916.55
7.4.60.0070.01016.44
7.4.50.0030.01316.64
7.4.40.0030.01616.44
7.4.30.0070.01016.71
7.4.00.0060.00614.91
7.3.330.0030.00313.05
7.3.320.0030.00313.00
7.3.310.0000.00716.25
7.3.300.0030.00316.13
7.3.290.0080.00716.25
7.3.280.0060.00816.26
7.3.270.0030.01317.40
7.3.260.0070.01016.42
7.3.250.0090.01216.43
7.3.240.0030.01316.58
7.3.230.0060.01616.63
7.3.210.0070.01016.35
7.3.200.0140.00416.30
7.3.190.0080.00816.35
7.3.180.0080.00816.34
7.3.170.0080.00816.56
7.3.160.0030.01316.31
7.3.10.0070.00716.62
7.3.00.0040.01116.60
7.2.330.0120.00616.60
7.2.320.0080.00916.43
7.2.310.0060.01016.59
7.2.300.0090.01516.72
7.2.290.0070.01016.57
7.2.130.0120.00017.01
7.2.120.0040.01116.93
7.2.110.0070.00716.83
7.2.100.0070.00716.61
7.2.90.0060.00616.86
7.2.80.0040.00816.91
7.2.70.0060.00616.93
7.2.60.0110.00816.65
7.2.50.0070.00916.98
7.2.40.0060.00916.81
7.2.30.0070.00717.00
7.2.20.0060.00316.88
7.2.10.0060.01216.73
7.2.00.0050.00516.96
7.1.250.0030.01116.03
7.1.200.0050.00515.54
7.1.70.0000.00917.09
7.1.60.1430.01333.29
7.1.50.1370.01333.20
7.1.40.1330.01332.82
7.1.30.1630.01733.04
7.1.20.1200.01732.99
7.1.10.0930.00714.80
7.1.00.1170.01315.08
7.0.200.1670.01014.97
7.0.190.2130.01715.11
7.0.180.1200.01314.43
7.0.170.2000.02014.41
7.0.160.1630.00714.45
7.0.150.1100.00714.77
7.0.140.0700.01314.73
7.0.130.0770.00714.93
7.0.120.0170.02014.82
7.0.110.0830.01714.70
7.0.100.0970.01314.61
7.0.90.0570.01014.69
7.0.80.0800.01314.57
7.0.70.0570.01014.47
7.0.60.0930.00714.36
7.0.50.0270.01714.61
7.0.40.0100.01015.03
7.0.30.0100.01014.73
7.0.20.0030.01314.65
7.0.10.0130.00314.64
7.0.00.2600.01014.82

preferences:
57.63 ms | 400 KiB | 5 Q