3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = 'Fooo <!--NOCACHE_START DEV_PROFILING--> <div class="box box-bdr pam mtm" id="dev_ProfilingButton"> <div class="h3">Profiling (<?php echo(round((microtime(true) - ALI <!--NOCACHE_END--> bar'; $pattern = '/<!--NOCACHE_START ([A-Za-z_]+)-->(.*)<!--NOCACHE_END-->/sm'; $replace = '$1$2'; echo preg_replace($pattern, $replace, $subject);

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.0000.01618.27
8.3.50.0100.01021.08
8.3.40.0140.00018.92
8.3.30.0100.00320.15
8.3.20.0050.00320.48
8.3.10.0050.00321.09
8.3.00.0070.00023.66
8.2.180.0060.00916.63
8.2.170.0140.00722.96
8.2.160.0150.00420.39
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0030.00526.16
8.2.120.0070.00021.30
8.2.110.0000.00919.32
8.2.100.0040.00717.91
8.2.90.0080.00019.09
8.2.80.0090.00017.97
8.2.70.0000.00817.75
8.2.60.0050.00317.93
8.2.50.0040.00418.07
8.2.40.0100.00018.14
8.2.30.0040.00419.33
8.2.20.0040.00417.68
8.2.10.0060.00317.83
8.2.00.0050.00317.79
8.1.280.0060.00925.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00023.84
8.1.230.0040.00720.84
8.1.220.0060.00318.77
8.1.210.0000.00719.02
8.1.200.0070.00417.36
8.1.190.0000.00917.53
8.1.180.0080.00018.10
8.1.170.0030.00618.63
8.1.160.0040.00418.79
8.1.150.0070.00018.63
8.1.140.0000.00717.40
8.1.130.0030.00317.93
8.1.120.0040.00417.57
8.1.110.0000.00717.57
8.1.100.0000.00817.53
8.1.90.0040.00417.58
8.1.80.0040.00417.43
8.1.70.0080.00017.43
8.1.60.0050.00517.69
8.1.50.0000.00717.45
8.1.40.0000.00817.61
8.1.30.0040.00417.61
8.1.20.0030.00517.71
8.1.10.0000.00717.51
8.1.00.0030.00617.48
8.0.300.0000.00719.84
8.0.290.0060.00317.17
8.0.280.0000.00718.36
8.0.270.0000.00717.17
8.0.260.0000.00716.81
8.0.250.0030.00317.05
8.0.240.0030.00717.00
8.0.230.0000.00816.94
8.0.220.0000.00616.84
8.0.210.0040.00416.87
8.0.200.0030.00316.92
8.0.190.0000.00817.09
8.0.180.0070.00016.87
8.0.170.0070.00016.91
8.0.160.0000.00716.97
8.0.150.0040.00416.98
8.0.140.0040.00416.88
8.0.130.0050.00213.38
8.0.120.0080.00016.95
8.0.110.0040.00416.86
8.0.100.0070.00017.00
8.0.90.0050.00316.90
8.0.80.0120.00916.85
8.0.70.0040.00416.98
8.0.60.0000.00817.03
8.0.50.0040.00416.84
8.0.30.0090.00817.27
8.0.20.0070.01217.42
8.0.10.0040.00417.09
8.0.00.0090.00716.86
7.4.330.0030.00316.85
7.4.320.0000.00716.65
7.4.300.0030.00316.66
7.4.290.0000.00716.71
7.4.280.0070.00016.76
7.4.270.0040.00416.64
7.4.260.0030.00313.42
7.4.250.0020.00516.75
7.4.240.0000.00716.77
7.4.230.0070.00016.82
7.4.220.0190.00616.66
7.4.210.0060.01016.69
7.4.200.0070.00016.55
7.4.190.0000.00716.70
7.4.160.0100.01316.66
7.4.150.0140.00317.40
7.4.140.0140.00717.86
7.4.130.0120.00716.68
7.4.120.0140.00716.63
7.4.110.0060.01216.57
7.4.100.0130.00916.86
7.4.90.0120.00616.71
7.4.80.0130.00319.39
7.4.70.0130.00916.44
7.4.60.0110.00716.67
7.4.50.0000.00816.70
7.4.40.0120.00322.77
7.4.30.0160.00616.68
7.4.00.0070.01015.11
7.3.330.0030.00313.04
7.3.320.0050.00013.11
7.3.310.0030.00316.15
7.3.300.0000.00616.14
7.3.290.0070.00716.29
7.3.280.0090.00716.27
7.3.270.0080.01617.40
7.3.260.0150.00518.24
7.3.250.0120.00516.46
7.3.240.0090.00916.32
7.3.230.0130.00516.39
7.3.210.0080.00816.36
7.3.200.0140.00419.39
7.3.190.0060.01016.42
7.3.180.0110.00716.43
7.3.170.0060.01116.34
7.3.160.0060.01216.43
7.3.120.0060.01215.16
7.2.330.0070.01116.76
7.2.320.0030.01716.73
7.2.310.0080.00816.69
7.2.300.0080.00816.76
7.2.290.0060.01016.55
7.2.00.0030.01219.24
7.1.100.0070.00718.36
7.1.70.0030.01017.30
7.1.60.0030.02119.17
7.1.50.0180.00317.18
7.1.00.0000.03722.28
7.0.200.0030.00316.64
7.0.140.0030.06722.04
7.0.100.0170.07020.00
7.0.90.0130.05319.93
7.0.80.0130.04319.94
7.0.70.0030.04319.91
7.0.60.0170.07719.96
7.0.50.0100.06320.28
7.0.40.0070.08720.03
7.0.30.0100.07720.14
7.0.20.0130.08020.13
7.0.10.0100.07020.10
7.0.00.0100.05020.09
5.6.280.0000.07721.06
5.6.250.0030.08720.62
5.6.240.0100.05720.60
5.6.230.0100.04320.63
5.6.220.0100.07720.57
5.6.210.0100.06320.55
5.6.200.0100.08321.04
5.6.190.0030.04321.00
5.6.180.0070.08321.09
5.6.170.0100.08320.96
5.6.160.0070.08021.11
5.6.150.0100.08021.00
5.6.140.0070.08021.11
5.6.130.0170.07721.05
5.6.120.0170.08020.95
5.6.110.0130.07721.02
5.6.100.0100.07020.98
5.6.90.0100.06720.92
5.6.80.0000.06720.44
5.6.70.0070.05720.54
5.6.60.0030.04020.46
5.6.50.0100.04720.48
5.6.40.0030.04020.37
5.6.30.0030.04020.48
5.6.20.0070.03720.38
5.6.10.0100.03020.36
5.6.00.0000.04320.35
5.5.380.0030.07320.41
5.5.370.0200.06720.39
5.5.360.0030.04020.38
5.5.350.0030.04020.34
5.5.340.0170.07320.90
5.5.330.0130.07320.82
5.5.320.0170.06320.82
5.5.310.0130.08020.85
5.5.300.0100.07320.78
5.5.290.0100.05720.82
5.5.280.0070.06020.89
5.5.270.0100.05320.81
5.5.260.0030.08720.87
5.5.250.0200.04020.57
5.5.240.0100.03720.29
5.5.230.0030.04320.24
5.5.220.0070.05720.14
5.5.210.0030.04720.20
5.5.200.0100.03320.26
5.5.190.0070.03720.13
5.5.180.0100.03320.21
5.5.160.0000.04320.24
5.5.150.0070.03720.13
5.5.140.0100.03320.20
5.5.130.0070.03719.95
5.5.120.0000.04320.25
5.5.110.0000.04320.11
5.5.100.0030.06320.00
5.5.90.0030.03720.06
5.5.80.0000.04020.11
5.5.70.0070.04020.05
5.5.60.0030.03720.13
5.5.50.0070.03720.14
5.5.40.0100.03020.05
5.5.30.0100.03320.14
5.5.20.0000.04319.94
5.5.10.0030.04019.97
5.5.00.0000.04020.07
5.4.450.0100.08319.38
5.4.440.0070.04719.34
5.4.430.0070.07019.44
5.4.420.0130.07319.55
5.4.410.0030.07319.14
5.4.400.0070.03719.05
5.4.390.0030.04019.05
5.4.380.0130.03319.09
5.4.370.0000.04019.07
5.4.360.0170.03318.81
5.4.350.0130.03318.92
5.4.340.0030.03719.23
5.4.320.0030.04019.04
5.4.310.0030.04319.13
5.4.300.0030.03718.78
5.4.290.0030.03719.14
5.4.280.0100.03019.03
5.4.270.0070.03019.11
5.4.260.0000.04318.94
5.4.250.0070.04718.94
5.4.240.0030.03719.03
5.4.230.0030.03719.04
5.4.220.0030.03718.80
5.4.210.0030.04019.02
5.4.200.0070.04318.78
5.4.190.0000.04319.03
5.4.180.0100.03019.09
5.4.170.0030.03719.02
5.4.160.0030.04019.00
5.4.150.0100.03319.02
5.4.140.0030.04016.35
5.4.130.0100.03016.30
5.4.120.0030.03716.34
5.4.110.0030.03316.22
5.4.100.0000.03316.21
5.4.90.0030.03316.21
5.4.80.0030.03316.25
5.4.70.0030.03716.42
5.4.60.0100.03016.32
5.4.50.0030.03716.18
5.4.40.0100.02716.45
5.4.30.0130.07016.23
5.4.20.0130.05716.23
5.4.10.0070.03716.19
5.4.00.0100.07015.83
5.3.290.0000.04314.65
5.3.280.0030.04014.50
5.3.270.0000.04014.59
5.3.260.0070.04014.57
5.3.250.0000.04014.51
5.3.240.0070.03714.56
5.3.230.0030.03714.58
5.3.220.0070.03314.55
5.3.210.0030.03714.55
5.3.200.0070.04714.47
5.3.190.0070.03314.42
5.3.180.0070.03314.41
5.3.170.0000.04014.42
5.3.160.0000.04314.41
5.3.150.0070.03314.50
5.3.140.0000.04714.51
5.3.130.0030.08014.42
5.3.120.0070.05314.43
5.3.110.0070.07714.52
5.3.100.0100.05014.03
5.3.90.0030.06013.92
5.3.80.0030.07013.87
5.3.70.0070.04013.97
5.3.60.0070.06013.77
5.3.50.0000.04013.92
5.3.40.0070.04313.95
5.3.30.0070.06713.86
5.3.20.0100.07013.68
5.3.10.0100.05713.41
5.3.00.0030.07713.59
5.2.170.0070.04313.05
5.2.160.0030.06013.05
5.2.150.0100.05013.05
5.2.140.0030.06013.05
5.2.130.0070.04313.05
5.2.120.0070.05013.05
5.2.110.0030.06013.05
5.2.100.0000.06313.05
5.2.90.0070.05713.05
5.2.80.0070.06013.05
5.2.70.0070.05713.05
5.2.60.0100.03013.05
5.2.50.0030.04713.05
5.2.40.0070.04013.05
5.2.30.0030.03013.05
5.2.20.0100.02013.05
5.2.10.0070.04313.05
5.2.00.0000.05713.05
5.1.60.0000.05013.05
5.1.50.0030.02313.05
5.1.40.0000.03313.05
5.1.30.0030.05013.05
5.1.20.0030.03313.05
5.1.10.0070.05013.05
5.1.00.0030.05313.05
5.0.50.0000.04313.05
5.0.40.0000.04713.05
5.0.30.0070.05713.05
5.0.20.0070.04013.05
5.0.10.0030.04313.05
5.0.00.0000.03713.05
4.4.90.0000.02013.05
4.4.80.0030.02013.05
4.4.70.0030.02713.05
4.4.60.0000.04013.05
4.4.50.0000.02313.05
4.4.40.0030.02313.05
4.4.30.0000.01713.05
4.4.20.0030.03313.05
4.4.10.0070.01313.05
4.4.00.0070.04313.05
4.3.110.0000.03313.05
4.3.100.0000.03313.05
4.3.90.0030.03013.05
4.3.80.0000.05713.05
4.3.70.0000.03313.05
4.3.60.0070.01713.05
4.3.50.0030.02313.05
4.3.40.0030.02713.05
4.3.30.0000.03013.05
4.3.20.0030.03013.05
4.3.10.0000.03713.05
4.3.00.0000.04013.05

preferences:
53.64 ms | 401 KiB | 5 Q