3v4l.org

run code in 300+ PHP versions simultaneously
<?php $embedCode = '<iframe width="800" > </iframe>'; echo preg_replace('/(<iframe[^>]*\swidth=")(\d+)("\s.*)/', '${1}' . '666' . '{3}', $embedCode);

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.0070.00718.31
8.3.50.0160.00321.99
8.3.40.0040.01118.84
8.3.30.0100.00319.10
8.3.20.0040.00420.38
8.3.10.0050.00323.48
8.3.00.0060.00319.38
8.2.180.0140.00718.54
8.2.170.0140.00022.96
8.2.160.0120.00320.57
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00420.88
8.2.110.0030.00620.52
8.2.100.0080.00418.22
8.2.90.0000.00819.23
8.2.80.0030.00517.97
8.2.70.0040.00417.63
8.2.60.0030.00617.93
8.2.50.0030.00518.07
8.2.40.0000.00918.09
8.2.30.0000.00718.04
8.2.20.0040.00417.82
8.2.10.0040.00418.08
8.2.00.0030.00517.66
8.1.280.0140.00025.92
8.1.270.0030.00623.97
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00323.83
8.1.230.0080.00319.15
8.1.220.0000.00817.76
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0040.00417.25
8.1.180.0040.00418.10
8.1.170.0090.00018.67
8.1.160.0000.00721.97
8.1.150.0000.00718.91
8.1.140.0080.00017.60
8.1.130.0040.00417.91
8.1.120.0080.00017.55
8.1.110.0000.00717.56
8.1.100.0040.00317.56
8.1.90.0070.00017.57
8.1.80.0000.00717.45
8.1.70.0040.00417.40
8.1.60.0060.00317.68
8.1.50.0000.00817.64
8.1.40.0030.00617.66
8.1.30.0000.00817.68
8.1.20.0000.00717.72
8.1.10.0000.00817.70
8.1.00.0040.00417.65
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0070.00018.32
8.0.270.0050.00317.21
8.0.260.0000.00617.27
8.0.250.0000.00817.08
8.0.240.0030.00317.12
8.0.230.0030.00317.05
8.0.220.0000.00717.04
8.0.210.0060.00016.86
8.0.200.0000.00716.97
8.0.190.0040.00416.91
8.0.180.0000.00817.02
8.0.170.0030.00517.01
8.0.160.0030.00317.02
8.0.150.0000.00816.99
8.0.140.0070.00016.91
8.0.130.0040.00413.38
8.0.120.0000.00716.96
8.0.110.0040.00416.98
8.0.100.0040.00416.87
8.0.90.0070.00016.88
8.0.80.0140.00716.93
8.0.70.0000.00816.85
8.0.60.0000.00716.98
8.0.50.0000.00716.86
8.0.30.0130.00917.40
8.0.20.0110.00817.42
8.0.10.0080.00017.01
8.0.00.0070.01217.01
7.4.330.0030.00315.00
7.4.320.0060.00016.58
7.4.300.0030.00316.79
7.4.290.0030.00316.77
7.4.280.0070.00016.60
7.4.270.0030.00516.72
7.4.260.0000.00716.61
7.4.250.0030.00516.55
7.4.240.0030.00316.73
7.4.230.0070.00016.83
7.4.220.0070.01116.77
7.4.210.0060.00916.63
7.4.200.0000.00816.75
7.4.160.0070.01316.70
7.4.150.0120.00617.40
7.4.140.0120.00717.86
7.4.130.0070.01016.60
7.4.120.0050.01116.59
7.4.110.0080.01516.48
7.4.100.0130.00316.62
7.4.90.0130.00416.62
7.4.80.0100.01019.39
7.4.70.0130.00316.65
7.4.60.0090.00616.53
7.4.50.0050.00316.64
7.4.40.0100.00716.55
7.4.30.0090.01216.76
7.4.00.0000.01515.24
7.3.330.0030.00413.12
7.3.320.0000.00513.15
7.3.310.0030.00316.07
7.3.300.0030.00316.32
7.3.290.0120.00416.29
7.3.280.0060.01116.31
7.3.270.0150.00317.40
7.3.260.0210.00316.23
7.3.250.0110.00916.46
7.3.240.0060.01216.73
7.3.230.0100.00716.39
7.3.210.0120.00616.49
7.3.200.0070.01119.39
7.3.190.0170.00316.57
7.3.180.0110.00816.31
7.3.170.0120.00516.32
7.3.160.0120.00416.52
7.2.330.0140.00316.64
7.2.320.0100.00716.64
7.2.310.0100.00616.49
7.2.300.0100.00716.75
7.2.290.0110.00716.67
7.2.00.0030.00919.23
7.1.100.0040.00718.40
7.1.70.0040.00417.24
7.1.60.0060.01619.32
7.1.50.0100.01016.73
7.1.00.0000.08022.31
7.0.200.0030.00716.88
7.0.140.0000.07721.97
7.0.110.0100.04719.86
7.0.100.0130.03720.04
7.0.90.0130.03720.06
7.0.80.0000.04719.83
7.0.70.0130.03719.89
7.0.60.0030.04719.89
7.0.50.0070.04019.91
7.0.40.0070.03319.68
7.0.30.0030.04719.88
7.0.20.0000.05019.67
7.0.10.0030.05319.66
7.0.00.0000.04319.71
5.6.280.0030.07320.98
5.6.260.0070.07020.68
5.6.250.0030.05020.50
5.6.240.0030.04320.70
5.6.230.0130.03020.49
5.6.220.0070.03720.50
5.6.210.0000.04320.63
5.6.200.0000.04720.65
5.6.190.0000.04720.61
5.6.180.0000.04320.63
5.6.170.0070.03720.45
5.6.160.0100.03320.56
5.6.150.0100.05020.67
5.6.140.0030.04020.69
5.6.130.0030.04320.61
5.6.120.0030.04020.57
5.6.110.0070.03720.60
5.6.100.0170.03020.63
5.6.90.0030.04020.56
5.6.80.0070.03720.04
5.6.70.0030.03719.92
5.6.60.0030.04319.98
5.6.50.0070.03719.84
5.6.40.0130.03019.92
5.6.30.0030.07020.20
5.6.20.0030.06719.96
5.6.10.0030.06319.97
5.6.00.0100.07019.97
5.5.380.0030.04017.58
5.5.370.0100.06317.50
5.5.360.0030.06017.62
5.5.350.0030.04317.75
5.5.340.0100.03318.03
5.5.330.0000.04717.77
5.5.320.0070.04017.84
5.5.310.0070.03718.15
5.5.300.0000.04318.13
5.5.290.0030.08317.86
5.5.280.0100.03318.16
5.5.270.0030.04018.00
5.5.260.0000.05017.76
5.5.250.0000.04317.69
5.5.240.0000.04717.25
5.5.230.0000.04017.39
5.5.220.0000.04017.49
5.5.210.0030.03717.63
5.5.200.0070.07717.20
5.5.190.0000.06717.51
5.5.180.0030.08017.19
5.5.160.0070.06317.34
5.5.150.0170.07017.37
5.5.140.0130.06717.21
5.5.130.0130.07017.50
5.5.120.0030.08017.37
5.5.110.0130.07317.51
5.5.100.0170.07017.41
5.5.90.0130.06017.37
5.5.80.0100.07317.50
5.5.70.0030.08317.49
5.5.60.0070.07717.40
5.5.50.0130.06717.09
5.5.40.0070.06717.09
5.5.30.0170.05317.22
5.5.20.0070.05717.37
5.5.10.0070.04317.36
5.5.00.0030.06717.40
5.4.450.0000.04319.28
5.4.440.0100.03319.27
5.4.430.0030.04019.35
5.4.420.0030.04019.23
5.4.410.0000.04019.21
5.4.400.0070.03319.04
5.4.390.0070.03318.93
5.4.380.0070.05019.00
5.4.370.0070.03019.10
5.4.360.0070.08018.93
5.4.350.0170.06719.02
5.4.340.0200.06019.08
5.4.320.0000.05019.27
5.4.310.0030.07019.25
5.4.300.0070.07319.11
5.4.290.0070.07319.14
5.4.280.0030.07319.11
5.4.270.0030.08019.08
5.4.260.0030.06319.16
5.4.250.0030.06719.17
5.4.240.0030.07319.02
5.4.230.0030.06718.95
5.4.220.0170.07019.12
5.4.210.0100.06319.02
5.4.200.0130.07019.09
5.4.190.0030.08018.97
5.4.180.0100.06018.93
5.4.170.0070.05319.08
5.4.160.0170.06719.10
5.4.150.0130.06319.15
5.4.140.0100.06716.49
5.4.130.0030.05716.48
5.4.120.0030.07316.49
5.4.110.0130.07016.51
5.4.100.0130.07016.53
5.4.90.0130.06016.37
5.4.80.0170.06016.36
5.4.70.0100.06716.38
5.4.60.0100.05316.11
5.4.50.0070.06316.50
5.4.40.0000.05716.55
5.4.30.0030.07316.49
5.4.20.0070.06016.20
5.4.10.0130.06716.45
5.4.00.0030.08015.91
5.3.290.0070.07314.66
5.3.280.0030.08314.60
5.3.270.0030.05314.55
5.3.260.0130.07014.66
5.3.250.0030.07314.55
5.3.240.0030.07014.55
5.3.230.0030.08014.54
5.3.220.0100.06314.58
5.3.210.0070.07714.46
5.3.200.0070.06314.44
5.3.190.0030.04314.46
5.3.180.0100.07314.63
5.3.170.0130.07014.50
5.3.160.0100.07014.65
5.3.150.0100.06314.39
5.3.140.0070.06714.33
5.3.130.0130.06014.48
5.3.120.0000.08314.54
5.3.110.0070.06314.43
5.3.100.0070.07713.91
5.3.90.0070.07313.96
5.3.80.0000.06314.11
5.3.70.0070.05013.81
5.3.60.0130.06713.89
5.3.50.0070.03313.82
5.3.40.0070.07313.88
5.3.30.0070.07713.97
5.3.20.0030.07013.76
5.3.10.0070.05713.52
5.3.00.0030.07713.49
5.2.170.0130.03011.17
5.2.160.0030.06711.05
5.2.150.0030.05711.30
5.2.140.0070.05311.13
5.2.130.0100.04010.99
5.2.120.0030.06011.09
5.2.110.0130.05311.03
5.2.100.0030.05011.13
5.2.90.0070.05310.98
5.2.80.0070.06311.05
5.2.70.0070.06010.99
5.2.60.0030.05711.11
5.2.50.0170.05710.91
5.2.40.0130.05711.06
5.2.30.0030.06310.91
5.2.20.0070.05710.91
5.2.10.0030.06311.00
5.2.00.0100.05310.93
5.1.60.0100.04710.05
5.1.50.0030.02710.16
5.1.40.0000.0579.98
5.1.30.0030.05310.45
5.1.20.0030.05710.30
5.1.10.0000.06310.23
5.1.00.0200.0409.88
5.0.50.0070.0478.47
5.0.40.0170.0278.41
5.0.30.0000.0678.12
5.0.20.0070.0408.36
5.0.10.0030.0438.16
5.0.00.0100.0538.40
4.4.90.0070.0307.14
4.4.80.0100.0277.14
4.4.70.0070.0307.14
4.4.60.0000.0337.14
4.4.50.0070.0337.14
4.4.40.0070.0507.14
4.4.30.0030.0337.14
4.4.20.0030.0337.14
4.4.10.0030.0337.14
4.4.00.0030.0507.14
4.3.110.0000.0407.14
4.3.100.0070.0307.14
4.3.90.0030.0337.14
4.3.80.0000.0507.14
4.3.70.0000.0307.14
4.3.60.0000.0337.14
4.3.50.0030.0377.14
4.3.40.0030.0377.14
4.3.30.0000.0277.14
4.3.20.0000.0177.14
4.3.10.0070.0307.14
4.3.00.0030.0337.14

preferences:
48.98 ms | 401 KiB | 5 Q