3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(); echo (preg_match("/(.*:)star_(\d)/", "sudoku: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.0110.00416.38
8.3.50.0110.00416.25
8.3.40.0040.01118.80
8.3.30.0130.00618.97
8.3.20.0000.00821.85
8.3.10.0040.00421.90
8.3.00.0040.00419.55
8.2.180.0120.00918.41
8.2.170.0070.00722.96
8.2.160.0070.01120.35
8.2.150.0160.00025.66
8.2.140.0050.00324.66
8.2.130.0050.00320.43
8.2.120.0040.00426.35
8.2.110.0030.00720.96
8.2.100.0110.00017.74
8.2.90.0090.00018.16
8.2.80.0000.00817.97
8.2.70.0000.00817.80
8.2.60.0120.00018.16
8.2.50.0050.00318.10
8.2.40.0050.00320.47
8.2.30.0040.00419.25
8.2.20.0000.00818.07
8.2.10.0030.00518.02
8.2.00.0040.00418.07
8.1.280.0120.01225.92
8.1.270.0000.00822.08
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0060.00323.86
8.1.230.0060.00621.04
8.1.220.0060.00317.74
8.1.210.0030.00618.80
8.1.200.0030.00617.35
8.1.190.0090.00017.22
8.1.180.0040.00418.10
8.1.170.0030.00619.94
8.1.160.0000.00718.81
8.1.150.0040.00420.28
8.1.140.0000.00719.54
8.1.130.0000.00920.73
8.1.120.0070.00017.52
8.1.110.0000.00717.53
8.1.100.0000.01017.50
8.1.90.0040.00417.45
8.1.80.0040.00417.41
8.1.70.0060.00617.38
8.1.60.0000.00817.70
8.1.50.0030.00517.59
8.1.40.0040.00417.51
8.1.30.0080.00017.79
8.1.20.0050.00517.70
8.1.10.0000.00817.63
8.1.00.0040.00417.57
8.0.300.0040.00419.98
8.0.290.0040.00416.88
8.0.280.0030.00318.41
8.0.270.0030.00317.20
8.0.260.0080.00018.95
8.0.250.0000.00817.00
8.0.240.0030.00317.09
8.0.230.0040.00416.93
8.0.220.0000.00816.80
8.0.210.0070.00016.98
8.0.200.0030.00316.90
8.0.190.0030.00517.04
8.0.180.0070.00016.96
8.0.170.0040.00416.97
8.0.160.0000.00717.07
8.0.150.0040.00416.92
8.0.140.0050.00216.94
8.0.130.0000.00613.48
8.0.120.0040.00416.85
8.0.110.0050.00316.84
8.0.100.0000.00816.95
8.0.90.0040.00416.93
8.0.80.0000.01516.95
8.0.70.0000.00716.86
8.0.60.0070.00017.04
8.0.50.0040.00417.01
8.0.30.0090.01017.31
8.0.20.0070.01117.40
8.0.10.0030.00516.96
8.0.00.0090.00916.74
7.4.330.0000.00515.55
7.4.320.0030.00316.55
7.4.300.0060.00016.63
7.4.290.0000.00716.54
7.4.280.0060.00316.54
7.4.270.0040.00716.72
7.4.260.0000.00716.66
7.4.250.0040.00416.61
7.4.240.0070.00016.75
7.4.230.0030.00316.80
7.4.220.0090.00916.76
7.4.210.0070.01316.70
7.4.200.0030.00316.77
7.4.160.0110.00516.64
7.4.150.0040.01317.40
7.4.140.0130.00917.86
7.4.130.0170.00816.62
7.4.120.0090.01116.57
7.4.110.0160.00916.76
7.4.100.0090.01416.87
7.4.90.0130.01016.61
7.4.80.0160.00319.39
7.4.70.0070.01016.65
7.4.60.0000.01616.71
7.4.50.0060.00916.82
7.4.40.0140.00316.59
7.4.30.0100.00716.60
7.4.00.0060.00914.99
7.3.330.0030.00513.11
7.3.320.0030.00313.03
7.3.310.0000.00816.32
7.3.300.0030.00316.32
7.3.290.0070.01016.25
7.3.280.0090.00816.29
7.3.270.0030.01317.40
7.3.260.0100.00816.42
7.3.250.0090.00916.56
7.3.240.0080.00816.67
7.3.230.0060.01416.34
7.3.210.0030.01316.68
7.3.200.0120.00916.75
7.3.190.0100.00716.45
7.3.180.0060.01016.35
7.3.170.0130.01016.29
7.3.160.0030.01316.51
7.2.330.0120.00916.37
7.2.320.0080.00816.78
7.2.310.0040.01816.58
7.2.300.0140.01016.86
7.2.290.0000.01616.50
7.2.60.0190.00416.40
7.2.50.0120.00317.10
7.1.200.0060.00615.87
7.1.70.0040.00417.22
7.1.60.1830.01033.37
7.1.50.1530.01333.11
7.1.40.1500.01332.70
7.1.30.1770.01332.81
7.1.20.1300.02032.91
7.1.10.0930.01014.95
7.1.00.1330.01715.22
7.0.200.1430.01315.15
7.0.190.1430.00715.10
7.0.180.1800.01714.59
7.0.170.1930.01714.69
7.0.160.1870.01014.49
7.0.150.1470.01014.55
7.0.140.1070.01014.73
7.0.130.1670.01714.57
7.0.120.1270.01314.89
7.0.110.1230.01014.57
7.0.100.1270.01014.52
7.0.90.1230.01314.59
7.0.80.1000.01314.83
7.0.70.1330.00714.53
7.0.60.1300.00714.53
7.0.50.1030.01014.61
7.0.40.1430.01014.88
7.0.30.1300.01314.65
7.0.20.1670.02314.79
7.0.10.1270.00314.66
7.0.00.1270.00714.88

preferences:
60.56 ms | 400 KiB | 5 Q