3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url="https://www.nappsng.org/schools/search/"; $text=file_get_contents($url); $res = preg_match_all("/\b[0-9]{3}\s*-\s*[0-9]{4}\s*-\s*[0-9]{4}\b/",$text,$matches); if ($res) { foreach(array_unique($matches[0]) as $email) { echo $email . "<br />"; } } else { echo "No emails found."; }

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.0080.01518.43
8.3.50.0090.00616.38
8.3.40.0040.01119.09
8.3.30.0150.00018.93
8.3.20.0080.00020.16
8.3.10.0050.00323.66
8.3.00.0000.00819.55
8.2.180.0130.01018.43
8.2.170.0070.00722.96
8.2.160.0130.00319.38
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00819.31
8.2.120.0040.00426.35
8.2.110.0100.00020.53
8.2.100.0060.00618.01
8.2.90.0040.00419.13
8.2.80.0080.00017.97
8.2.70.0040.00417.75
8.2.60.0050.00317.92
8.2.50.0040.00418.10
8.2.40.0040.00420.43
8.2.30.0080.00019.25
8.2.20.0080.00018.04
8.2.10.0040.00418.04
8.2.00.0000.00718.01
8.1.280.0070.00725.92
8.1.270.0030.00522.19
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00619.26
8.1.230.0070.00419.20
8.1.220.0000.01017.76
8.1.210.0000.00918.77
8.1.200.0030.00717.48
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0060.00320.44
8.1.160.0060.00319.16
8.1.150.0040.00420.59
8.1.140.0040.00419.60
8.1.130.0000.00718.84
8.1.120.0040.00417.48
8.1.110.0040.00417.57
8.1.100.0040.00417.61
8.1.90.0070.00017.63
8.1.80.0070.00017.46
8.1.70.0030.00317.62
8.1.60.0030.00617.71
8.1.50.0090.00017.64
8.1.40.0040.00417.61
8.1.30.0030.00517.68
8.1.20.0060.00317.77
8.1.10.0080.00017.69
8.1.00.0030.00517.59
8.0.300.0040.00418.77
8.0.290.0070.00017.00
8.0.280.0070.00018.55
8.0.270.0040.00417.40
8.0.260.0060.00017.03
8.0.250.0040.00417.18
8.0.240.0030.00317.18
8.0.230.0000.00717.07
8.0.220.0000.00617.02
8.0.210.0070.00017.12
8.0.200.0070.00017.07
8.0.190.0080.00017.24
8.0.180.0000.00817.11
8.0.170.0030.00317.06
8.0.160.0040.00417.17
8.0.150.0040.00417.06
8.0.140.0040.00417.02
8.0.130.0000.00613.58
8.0.120.0040.00417.02
8.0.110.0040.00417.11
8.0.100.0050.00317.16
8.0.90.0000.00717.03
8.0.80.0110.00717.00
8.0.70.0070.00017.06
8.0.60.0080.00017.13
8.0.50.0000.00717.05
8.0.30.0150.00417.24
8.0.20.0080.01517.40
8.0.10.0070.00017.20
8.0.00.0110.00817.01
7.4.330.0050.00015.55
7.4.320.0030.00316.68
7.4.300.0030.00316.73
7.4.290.0090.00316.75
7.4.280.0060.00316.66
7.4.270.0000.00716.77
7.4.260.0050.00013.34
7.4.250.0040.00416.59
7.4.240.0000.00816.78
7.4.230.0070.00016.69
7.4.220.0360.01216.69
7.4.210.0100.01116.72
7.4.200.0030.00316.69
7.4.160.0070.00916.76
7.4.150.0110.01117.40
7.4.140.0070.01217.86
7.4.130.0060.01216.86
7.4.120.0160.00416.65
7.4.110.0090.00916.87
7.4.100.0160.00316.80
7.4.90.0130.00316.71
7.4.80.0080.00919.39
7.4.70.0100.00716.78
7.4.60.0030.01416.60
7.4.50.0090.00616.65
7.4.40.0140.00316.71
7.4.30.0100.00716.48
7.4.10.0040.01515.12
7.4.00.0050.01315.09
7.3.330.0020.00213.17
7.3.320.0030.00313.35
7.3.310.0040.00416.50
7.3.300.0000.00716.41
7.3.290.0080.00916.40
7.3.280.0090.00816.39
7.3.270.0170.00017.40
7.3.260.0070.01016.48
7.3.250.0090.01116.52
7.3.240.0180.00316.46
7.3.230.0110.00816.42
7.3.210.0160.00016.63
7.3.200.0120.00916.52
7.3.190.0090.00916.39
7.3.180.0100.00716.64
7.3.170.0100.01316.71
7.3.160.0090.01316.47
7.3.130.0040.01114.48
7.3.120.0100.01015.16
7.3.110.0070.01314.98
7.3.100.0030.00914.93
7.3.90.0000.01315.12
7.3.80.0040.00414.71
7.3.70.0070.00715.06
7.3.60.0040.01114.94
7.3.50.0110.00414.99
7.3.40.0000.01414.95
7.3.30.0090.00314.75
7.3.20.0000.01016.74
7.3.10.0040.01116.47
7.3.00.0000.01216.93
7.2.330.0150.00916.72
7.2.320.0140.00316.52
7.2.310.0030.01616.80
7.2.300.0150.00416.62
7.2.290.0060.01016.59
7.2.260.0070.01115.39
7.2.250.0100.01015.29
7.2.240.0000.01315.01
7.2.230.0030.01315.23
7.2.220.0090.00615.14
7.2.210.0000.01215.12
7.2.200.0120.00314.96
7.2.190.0000.01615.22
7.2.180.0080.00315.09
7.2.170.0050.00515.34
7.2.160.0140.00015.00
7.2.150.0080.00417.05
7.2.140.0030.01017.21
7.2.130.0070.00716.76
7.2.120.0030.01216.83
7.2.110.0110.00317.10
7.2.100.0100.00717.11
7.2.90.0040.00717.14
7.2.80.0090.00616.90
7.2.70.0120.00016.97
7.2.60.0080.00717.01
7.2.50.0030.01016.89
7.2.40.0030.01517.15
7.2.30.0050.00517.00
7.2.20.0060.01017.05
7.2.10.0030.01216.87
7.2.00.0060.01118.20
7.1.330.0030.01015.70
7.1.320.0060.00915.76
7.1.310.0030.01015.74
7.1.300.0100.00715.74
7.1.290.0060.00916.11
7.1.280.0030.01015.76
7.1.270.0070.01015.98
7.1.260.0030.00916.14
7.1.250.0070.00716.13
7.1.240.0150.00015.84
7.1.230.0000.01616.15
7.1.220.0000.01415.78
7.1.210.0120.00015.80
7.1.200.0040.00915.85
7.1.190.0100.00316.15
7.1.180.0090.00315.98
7.1.170.0000.00916.05
7.1.160.0070.00316.13
7.1.150.0100.00316.15
7.1.140.0100.00716.11
7.1.130.0060.00616.08
7.1.120.0000.01415.79
7.1.110.0060.00616.14
7.1.100.0060.00817.17
7.1.90.0110.00316.04
7.1.80.0070.00715.78
7.1.70.0090.00916.78
7.1.60.0210.00525.73
7.1.50.0150.01325.59
7.1.40.0140.01825.39
7.1.30.0170.01525.44
7.1.20.0210.00825.44
7.1.10.0040.01116.46
7.1.00.0090.00816.47
7.0.330.0100.00315.41
7.0.320.0030.00815.29
7.0.310.0030.00615.61
7.0.300.0030.01015.67
7.0.290.0030.01415.49
7.0.280.0030.00915.61
7.0.270.0110.00415.51
7.0.260.0100.00715.50
7.0.250.0040.00715.50
7.0.240.0040.01115.57
7.0.230.0060.00915.46
7.0.220.0060.00915.43
7.0.210.0090.00815.57
7.0.200.0080.00916.08
7.0.190.0050.01216.16
7.0.180.0090.00916.04
7.0.170.0090.00916.09
7.0.160.0100.00816.07
7.0.150.0070.01016.04
7.0.140.0060.01016.04
7.0.130.0050.01216.17
7.0.120.0170.00916.21
7.0.110.0050.01216.15
7.0.100.0110.00616.06
7.0.90.0030.01316.21
7.0.80.0040.01416.09
7.0.70.0070.00915.94
7.0.60.0080.00816.16
7.0.50.0080.00716.38
7.0.40.0050.01014.99
7.0.30.0050.01115.18
7.0.20.0080.00815.03
7.0.10.0080.00715.18
7.0.00.0070.01015.05
5.6.400.0030.01214.68
5.6.390.0070.00714.63
5.6.380.0040.01114.27
5.6.370.0040.00414.42
5.6.360.0130.00314.33
5.6.350.0080.00314.70
5.6.340.0060.01114.58
5.6.330.0040.01114.70
5.6.320.0070.00414.12
5.6.310.0080.00414.64
5.6.300.0060.00314.36
5.6.290.0000.01614.34
5.6.280.0030.01014.20
5.6.270.0000.00914.50
5.6.260.0060.00914.51
5.6.250.0110.00014.18
5.6.240.0040.01114.27
5.6.230.0030.00814.59
5.6.220.0030.00714.45
5.6.210.0030.01314.29
5.6.200.0000.01414.54
5.6.190.0030.01314.31
5.6.180.0030.01014.41
5.6.170.0110.00414.17
5.6.160.0060.00614.36
5.6.150.0100.00714.34
5.6.140.0030.00614.32
5.6.130.0030.00914.29
5.6.120.0000.01314.53
5.6.110.0110.00414.18
5.6.100.0100.00314.22
5.6.90.0030.01214.26
5.6.80.0120.00014.28
5.6.70.0070.00714.12
5.6.60.0070.00714.09
5.6.50.0060.00914.09
5.6.40.0000.01514.24
5.6.30.0040.01114.71
5.6.20.0070.00414.35
5.6.10.0110.00014.49
5.6.00.0040.01114.18

preferences:
49.15 ms | 401 KiB | 5 Q