3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vhost =' <Directory "/srv/httpd/htdocs/mydomain.com"> Options Indexes FollowSymLinks AllowOverride All Order deny,allow Allow from 127.0.0.1 Allow from xxx.xxx.xxx.xxx Allow from xxx.xxx.xxx.xxx Deny from all </Directory> <Directory "/srv/httpd/htdocs/mydomain.com"> Options Indexes FollowSymLinks AllowOverride All Order deny,allow Allow from 127.0.0.1 Allow from xxx.xxx.xxx.xxx Allow from xxx.xxx.xxx.xxx Deny from all </Directory> '; $matches = []; $directory = preg_match_all('/<Directory "(.*")>([\s\S]*?)<\/Directory>/', $vhost, $matches, PREG_SET_ORDER); 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.70.0120.00316.63
8.3.60.0090.00618.56
8.3.50.0110.00722.12
8.3.40.0070.00718.79
8.3.30.0130.00318.92
8.3.20.0060.00320.29
8.3.10.0050.00320.48
8.3.00.0040.00419.38
8.2.180.0090.00618.42
8.2.170.0100.00722.96
8.2.160.0110.00319.10
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00022.36
8.2.110.0060.00320.33
8.2.100.0120.00017.84
8.2.90.0040.00419.22
8.2.80.0030.00517.97
8.2.70.0000.00917.63
8.2.60.0060.00317.80
8.2.50.0060.00318.07
8.2.40.0000.00818.22
8.2.30.0000.00719.19
8.2.20.0040.00417.82
8.2.10.0060.00318.02
8.2.00.0000.00817.94
8.1.280.0110.00725.92
8.1.270.0060.00324.02
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00323.80
8.1.230.0040.00820.91
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.00917.36
8.1.190.0000.00917.35
8.1.180.0030.00618.10
8.1.170.0050.00318.74
8.1.160.0040.00421.99
8.1.150.0000.00718.75
8.1.140.0000.00717.46
8.1.130.0070.00017.73
8.1.120.0040.00417.57
8.1.110.0040.00417.60
8.1.100.0070.00017.60
8.1.90.0040.00417.53
8.1.80.0000.00717.55
8.1.70.0000.00717.41
8.1.60.0040.00417.70
8.1.50.0000.00917.61
8.1.40.0030.00617.52
8.1.30.0030.00517.58
8.1.20.0020.00517.76
8.1.10.0050.00317.57
8.1.00.0000.00817.62
8.0.300.0050.00218.77
8.0.290.0040.00416.88
8.0.280.0070.00018.45
8.0.270.0070.00317.22
8.0.260.0060.00017.22
8.0.250.0070.00016.92
8.0.240.0030.00317.05
8.0.230.0000.00717.08
8.0.220.0030.00316.91
8.0.210.0030.00316.94
8.0.200.0000.00816.89
8.0.190.0040.00416.98
8.0.180.0070.00017.05
8.0.170.0000.00716.93
8.0.160.0070.00017.02
8.0.150.0000.00716.91
8.0.140.0070.00016.93
8.0.130.0030.00313.45
8.0.120.0040.00416.97
8.0.110.0000.00716.80
8.0.100.0040.00417.04
8.0.90.0080.00017.09
8.0.80.0040.01116.96
8.0.70.0040.00417.06
8.0.60.0050.00216.94
8.0.50.0050.00216.93
8.0.30.0120.01117.17
8.0.20.0140.01017.40
8.0.10.0050.00316.98
8.0.00.0060.01216.89
7.4.330.0000.00515.00
7.4.320.0000.00616.61
7.4.300.0030.00316.68
7.4.290.0040.00416.70
7.4.280.0000.00716.65
7.4.270.0000.00716.65
7.4.260.0030.00516.73
7.4.250.0040.00416.72
7.4.240.0040.00416.71
7.4.230.0030.00516.86
7.4.220.0030.01816.70
7.4.210.0090.00516.70
7.4.200.0090.00016.85
7.4.160.0040.01216.60
7.4.150.0100.01017.40
7.4.140.0030.01417.86
7.4.130.0110.00916.63
7.4.120.0110.00616.61
7.4.110.0070.01116.59
7.4.100.0040.01516.55
7.4.90.0080.01216.60
7.4.80.0140.00619.04
7.4.70.0120.00616.44
7.4.60.0200.00016.57
7.4.50.0000.00816.23
7.4.40.0090.00916.64
7.4.30.0070.01016.55
7.4.00.0090.00315.21
7.3.330.0030.00313.18
7.3.320.0060.00013.22
7.3.310.0070.00016.32
7.3.300.0040.00416.27
7.3.290.0080.00616.29
7.3.280.0090.00816.29
7.3.270.0060.01317.40
7.3.260.0090.00916.59
7.3.250.0130.00716.55
7.3.240.0150.00316.80
7.3.230.0110.00616.39
7.3.210.0130.00516.68
7.3.200.0120.00619.39
7.3.190.0110.00916.80
7.3.180.0090.00916.47
7.3.170.0100.01016.27
7.3.160.0030.01416.27
7.2.330.0150.00316.67
7.2.320.0030.01316.64
7.2.310.0050.01016.59
7.2.300.0070.01016.67
7.2.290.0100.01216.76
7.2.60.0040.01117.04
7.2.00.0080.00419.71
7.1.200.0060.00615.76
7.1.100.0070.00718.41
7.1.70.0000.00717.27
7.1.60.0100.01619.32
7.1.50.0090.01216.68
7.1.00.0130.07022.32
7.0.200.0050.00316.98
7.0.140.0030.07321.98
7.0.60.0030.08320.02
7.0.50.0170.07017.84
7.0.40.0100.06320.00
7.0.30.0300.08020.21
7.0.20.0270.06720.20
7.0.10.0370.06020.22
7.0.00.0070.04020.14
5.6.280.0070.06721.10
5.6.210.0070.04020.67
5.6.200.0130.06318.20
5.6.190.0030.04320.27
5.6.180.0570.04320.41
5.6.170.0330.07020.46
5.6.160.0100.08020.61
5.6.150.0030.04018.09
5.6.140.0130.07018.14
5.6.130.0030.04018.08
5.6.120.0030.05021.00
5.6.110.0100.09020.99
5.6.100.0100.08721.00
5.6.90.0100.07721.00
5.6.80.0030.04020.35
5.6.70.4100.04020.43
5.5.350.0170.07020.46
5.5.340.0100.04317.86
5.5.330.0100.06020.58
5.5.320.0300.04720.28
5.5.310.0270.06720.33
5.5.300.0100.04017.97
5.5.290.0030.07317.91
5.5.280.0000.09020.74
5.5.270.0030.08720.86
5.5.260.0200.07020.64
5.5.250.0030.08020.56
5.5.240.0300.05320.18
5.4.450.0170.04719.55
5.4.440.0100.04319.54
5.4.430.0370.03719.54
5.4.420.0300.07719.45
5.4.410.0130.04019.29
5.4.400.0130.03719.09
5.4.390.0170.04318.80
5.4.380.0200.03019.08
5.4.370.0130.06319.24
5.4.360.0230.07019.16
5.4.350.0200.06019.09
5.4.340.0270.04719.08
5.4.320.0130.04319.25
5.4.310.0330.05318.75
5.4.300.0170.07019.24
5.4.290.0230.07719.21
5.4.280.0300.03319.20
5.4.270.0100.05019.08
5.4.260.0100.05019.24
5.4.250.0230.07318.80
5.4.240.0200.08019.09
5.4.230.0130.05019.09
5.4.220.0270.04019.24
5.4.210.0230.06719.12
5.4.200.0200.05319.13
5.4.190.0200.07718.78
5.4.180.0230.05318.78
5.4.170.0300.06319.23
5.4.160.0230.04018.86
5.4.150.0200.04019.06
5.4.140.0100.04016.18
5.4.130.0170.07316.32
5.4.120.0300.04016.21
5.4.110.0230.06716.34
5.4.100.0200.07016.41
5.4.90.0270.03316.39
5.4.80.0270.02716.37
5.4.70.0200.07316.21
5.4.60.0300.05316.36
5.4.50.0230.07016.36
5.4.40.0200.07316.40
5.4.30.0270.04316.31
5.4.20.0200.04716.20
5.4.10.0270.07016.43
5.4.00.0230.04715.67
5.3.290.0170.07714.53
5.3.280.0200.06714.44
5.3.270.0200.04314.45
5.3.260.0200.07314.59
5.3.250.0230.06714.48
5.3.240.0230.06714.45
5.3.230.0200.07314.64
5.3.220.0200.04314.47
5.3.210.0300.04314.48
5.3.200.0270.06314.52
5.3.190.0270.04314.45
5.3.180.0100.04314.55
5.3.170.0100.06714.52
5.3.160.0200.04014.52
5.3.150.0230.05014.40
5.3.140.0230.06314.43
5.3.130.0230.05014.50
5.3.120.0170.08014.38
5.3.110.0230.07314.57
5.3.100.0200.07013.99
5.3.90.0230.07313.86
5.3.80.0300.06713.97
5.3.70.0270.06713.80
5.3.60.0200.06013.85
5.3.50.0270.07013.89
5.3.40.0200.04313.77
5.3.30.0170.07313.78
5.3.20.0230.05313.67
5.3.10.0230.06313.49
5.3.00.0230.06713.44
5.2.170.0170.06711.66
5.2.160.0100.03711.66
5.2.150.0130.06711.66
5.2.140.0130.05011.66
5.2.130.0230.05311.66
5.2.120.0230.05311.66
5.2.110.0230.04711.66
5.2.100.0170.03711.66
5.2.90.0200.06011.66
5.2.80.0130.04711.66
5.2.70.0200.06011.66
5.2.60.0100.05011.66
5.2.50.0170.05311.66
5.2.40.0130.05711.66
5.2.30.0130.05711.66
5.2.20.0270.02711.66
5.2.10.0130.06311.66
5.2.00.0170.05711.66
5.1.60.0170.04711.66
5.1.50.0170.05011.66
5.1.40.0270.02311.66
5.1.30.0230.02711.66
5.1.20.0100.03711.66
5.1.10.0130.02311.66
5.1.00.0130.05011.66
5.0.50.0100.03011.66
5.0.40.0070.04311.66
5.0.30.0100.04011.66
5.0.20.0100.04011.66
5.0.10.0100.04011.66
5.0.00.0030.03311.66
4.4.90.0070.03011.66
4.4.80.0070.03011.66
4.4.70.0070.03711.66
4.4.60.0130.03011.66
4.4.50.0100.02311.66
4.4.40.0100.05711.66
4.4.30.0070.02311.66
4.4.20.0030.01711.66
4.4.10.0070.03311.66
4.4.00.0100.05311.66
4.3.110.0070.02311.66
4.3.100.0070.01711.66
4.3.90.0030.03011.66
4.3.80.0100.05011.66
4.3.70.0100.01311.66
4.3.60.0030.03011.66
4.3.50.0070.02011.66
4.3.40.0130.02311.66
4.3.30.0000.04011.66
4.3.20.0070.03311.66
4.3.10.0030.03711.66
4.3.00.0000.02711.66

preferences:
39.35 ms | 401 KiB | 5 Q