3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'This is day 7 of the task'; preg_match('~[0-9]~', $string, $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.5.10.0070.00116.82
8.5.00.0140.00719.84
8.4.160.0150.00723.95
8.4.150.0010.00014.05
8.4.140.0090.01217.63
8.4.130.0050.00518.74
8.4.120.0070.00224.00
8.4.110.0110.00918.88
8.4.100.0040.00517.89
8.4.90.0110.00720.64
8.4.80.0070.00218.98
8.4.70.0110.00818.99
8.4.60.0070.00920.55
8.4.50.0110.00918.34
8.4.40.0130.00617.73
8.4.30.0040.00418.00
8.4.20.0070.01317.84
8.4.10.0060.01017.76
8.3.280.0140.00618.51
8.3.270.0130.00716.61
8.3.260.0090.01016.54
8.3.250.0110.00818.91
8.3.240.0120.00717.06
8.3.230.0120.00816.59
8.3.220.0040.00420.76
8.3.210.0060.00416.50
8.3.200.0060.00316.64
8.3.190.0090.01017.07
8.3.180.0120.00618.92
8.3.170.0030.01517.33
8.3.160.0060.01318.68
8.3.150.0090.00916.55
8.3.140.0070.00016.67
8.3.130.0060.00318.28
8.3.120.0060.00320.90
8.3.110.0090.00016.43
8.3.100.0000.00824.06
8.3.90.0080.00026.77
8.3.80.0030.00618.55
8.3.70.0090.00618.55
8.3.60.0150.00618.43
8.3.50.0090.00518.28
8.3.40.0110.00418.71
8.3.30.0070.00718.67
8.3.20.0070.00021.71
8.3.10.0040.00423.56
8.3.00.0050.00223.65
8.2.290.0100.00820.13
8.2.280.0110.00918.41
8.2.270.0000.00816.89
8.2.260.0110.00717.02
8.2.250.0040.00416.78
8.2.240.0030.01317.00
8.2.230.0080.00320.94
8.2.220.0080.00337.54
8.2.210.0040.01126.77
8.2.200.0060.00316.63
8.2.190.0070.00718.41
8.2.180.0100.00716.75
8.2.170.0080.00819.06
8.2.160.0070.00722.96
8.2.150.0120.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0000.00719.70
8.2.110.0090.00022.23
8.2.100.0040.00717.78
8.2.90.0040.00422.20
8.2.80.0040.00417.97
8.2.70.0050.00517.65
8.2.60.0000.00917.93
8.2.50.0080.00018.22
8.2.40.0060.00319.05
8.2.30.0030.00519.18
8.2.20.0070.00018.11
8.2.10.0000.00718.00
8.2.00.0040.00417.91
8.1.330.0120.00722.20
8.1.320.0130.00818.12
8.1.310.0140.00018.32
8.1.300.0060.00316.57
8.1.290.0070.00430.84
8.1.280.0120.00925.92
8.1.270.0090.00023.71
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00422.30
8.1.230.0040.00820.66
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0080.00017.25
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0000.00818.95
8.1.150.0040.00420.81
8.1.140.0030.00517.65
8.1.130.0000.00719.03
8.1.120.0050.00317.54
8.1.110.0000.00717.43
8.1.100.0040.00417.54
8.1.90.0100.00017.43
8.1.80.0040.00417.56
8.1.70.0060.00317.38
8.1.60.0000.00817.52
8.1.50.0040.00417.60
8.1.40.0040.00417.59
8.1.30.0030.00517.74
8.1.20.0030.00517.72
8.1.10.0080.00017.66
8.1.00.0000.00717.60
8.0.300.0040.00419.93
8.0.290.0040.00416.75
8.0.280.0070.00018.39
8.0.270.0000.00717.20
8.0.260.0040.00417.18
8.0.250.0000.00716.94
8.0.240.0030.00316.96
8.0.230.0070.00017.01
8.0.220.0030.00516.91
8.0.210.0000.00716.84
8.0.200.0000.00816.91
8.0.190.0080.00017.02
8.0.180.0040.00416.88
8.0.170.0000.00816.90
8.0.160.0040.00417.02
8.0.150.0070.00316.90
8.0.140.0100.00016.94
8.0.130.0000.00613.40
8.0.120.0000.00716.92
8.0.110.0040.00416.82
8.0.100.0040.00416.74
8.0.90.0040.00417.03
8.0.80.0070.01016.93
8.0.70.0040.00416.78
8.0.60.0000.00816.98
8.0.50.0040.00416.99
8.0.30.0090.01017.19
8.0.20.0110.00717.40
8.0.10.0000.00716.91
8.0.00.0150.00316.91
7.4.330.0020.00215.55
7.4.320.0000.00716.50
7.4.300.0060.00016.65
7.4.290.0040.00416.54
7.4.280.0060.00316.64
7.4.270.0040.00416.68
7.4.260.0040.00416.71
7.4.250.0000.00816.69
7.4.240.0000.00716.81
7.4.230.0060.00016.57
7.4.220.0030.00516.56
7.4.210.0080.01116.72
7.4.200.0000.00716.84
7.4.160.0080.00816.48
7.4.140.0080.00917.86
7.4.130.0120.00916.57
7.4.120.0130.00316.61
7.4.110.0130.00716.50
7.4.100.0040.01216.55
7.4.90.0090.01316.68
7.4.80.0110.01119.39
7.4.70.0080.01416.65
7.4.60.0160.00016.43
7.4.50.0060.00916.64
7.4.40.0130.00316.60
7.4.00.0030.01015.04
7.3.330.0050.00013.11
7.3.320.0000.00713.18
7.3.310.0030.00316.34
7.3.300.0030.00316.11
7.3.290.0070.00016.23
7.3.280.0100.00816.32
7.3.260.0110.00716.49
7.3.240.0090.01016.35
7.3.230.0130.01016.38
7.3.210.0090.00916.71
7.3.200.0070.01016.23
7.3.190.0030.01616.34
7.3.180.0140.00816.38
7.3.170.0060.01016.35
7.3.160.0030.01316.48
7.2.330.0110.00716.45
7.2.320.0100.01316.70
7.2.310.0040.01216.59
7.2.300.0060.01116.53
7.2.290.0090.00916.66
7.2.60.0260.00016.84
7.2.50.0120.00316.98
7.2.40.1140.01117.92
7.2.30.1050.01117.98
7.2.20.0920.01217.96
7.2.10.1100.01517.86
7.2.00.1140.01518.11
7.1.200.0000.00715.64
7.1.160.0890.00916.69
7.1.150.0860.01217.04
7.1.140.0950.01116.90
7.1.130.1020.01316.79
7.1.120.1210.01217.09
7.1.110.1080.01216.32
7.1.100.1400.01216.38
7.1.90.1070.00916.40
7.1.80.0800.01116.23
7.1.70.0930.01315.61
7.1.60.1030.01333.30
7.1.50.1030.01133.11
7.1.40.0980.01132.87
7.1.30.1370.01632.84
7.1.20.1280.01532.94
7.1.10.1080.01014.85
7.1.00.0930.01115.12

preferences:
39.45 ms | 403 KiB | 5 Q