3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace( "|<(\w+)([^>/]+)?|", "<$1", '<div width="5px">three is less than five: 3<5, ya know?</div>' );

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.0090.00916.82
8.5.00.0110.01019.96
8.4.150.0020.00114.05
8.4.140.0120.00917.57
8.4.130.0040.00518.75
8.4.120.0150.00719.90
8.4.110.0040.00520.34
8.4.100.0130.00817.82
8.4.90.0120.00820.63
8.4.80.0040.00618.92
8.4.70.0070.00220.84
8.4.60.0110.01022.36
8.4.50.0100.00920.42
8.4.40.0040.00417.51
8.4.30.0160.00320.54
8.4.20.0140.00718.19
8.4.10.0090.00020.35
8.3.280.0150.00618.70
8.3.270.0040.00416.43
8.3.260.0100.00916.61
8.3.250.0100.00816.55
8.3.240.0090.01116.61
8.3.230.0110.00616.73
8.3.220.0060.00618.80
8.3.210.0090.00916.68
8.3.200.0050.00416.56
8.3.190.0070.00417.10
8.3.180.0130.00518.73
8.3.170.0070.01018.80
8.3.160.0110.00720.61
8.3.150.0000.00816.61
8.3.140.0040.01117.01
8.3.130.0090.00618.51
8.3.120.0130.00620.54
8.3.110.0040.00416.83
8.3.100.0060.00318.36
8.3.90.0140.00026.77
8.3.80.0060.00316.50
8.3.70.0060.00916.75
8.3.60.0070.01118.31
8.3.50.0100.01023.72
8.3.40.0140.00718.80
8.3.30.0090.00618.86
8.3.20.0030.00524.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.290.0080.00416.63
8.2.280.0110.00918.66
8.2.270.0140.00418.80
8.2.260.0120.00318.57
8.2.250.0080.00818.74
8.2.240.0000.01516.31
8.2.230.0040.00420.94
8.2.220.0000.00824.06
8.2.210.0110.00426.77
8.2.200.0060.00318.67
8.2.190.0040.01116.63
8.2.180.0110.01125.92
8.2.170.0110.00718.99
8.2.160.0110.00322.96
8.2.150.0080.00825.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00426.35
8.2.110.0030.00719.20
8.2.100.0040.00817.84
8.2.90.0060.00319.09
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0050.00317.80
8.2.50.0040.00417.63
8.2.40.0050.00319.60
8.2.30.0020.00518.09
8.2.20.0000.00718.08
8.2.10.0000.00719.14
8.2.00.0030.00619.13
8.1.330.0120.00816.41
8.1.320.0110.00918.12
8.1.310.0040.00418.44
8.1.300.0060.00318.10
8.1.290.0060.00330.84
8.1.280.0110.00725.92
8.1.270.0140.00723.86
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0100.00022.75
8.1.230.0070.00419.42
8.1.220.0060.00317.74
8.1.210.0090.00018.77
8.1.200.0060.00317.13
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0000.00718.77
8.1.150.0040.00418.68
8.1.140.0040.00418.83
8.1.130.0050.00317.38
8.1.120.0060.00317.49
8.1.110.0050.00217.45
8.1.100.0030.00517.46
8.1.90.0040.00417.48
8.1.80.0030.00617.45
8.1.70.0030.00317.51
8.1.60.0000.00817.48
8.1.50.0050.00317.46
8.1.40.0000.00817.54
8.1.30.0000.01017.59
8.1.20.0040.00417.75
8.1.10.0040.00717.53
8.1.00.0080.00017.49
8.0.300.0000.00818.77
8.0.290.0000.00816.75
8.0.280.0070.00018.29
8.0.270.0040.00417.95
8.0.260.0030.00316.89
8.0.250.0050.00317.06
8.0.240.0000.00716.94
8.0.230.0060.00316.93
8.0.220.0030.00316.92
8.0.210.0040.00416.81
8.0.200.0040.00416.85
8.0.190.0050.00316.98
8.0.180.0040.00416.83
8.0.170.0040.00416.84
8.0.160.0000.00716.89
8.0.150.0040.00416.77
8.0.140.0100.00016.77
8.0.130.0070.00013.29
8.0.120.0050.00316.84
8.0.110.0050.00216.75
8.0.100.0050.00216.84
8.0.90.0050.00316.86
8.0.80.0070.00816.87
8.0.70.0040.00416.90
8.0.60.0000.00716.88
8.0.50.0000.00716.79
8.0.30.0100.00716.86
8.0.20.0130.01317.11
8.0.10.0180.00917.12
8.0.00.0000.01817.24
7.4.330.0030.00315.55
7.4.320.0060.00016.66
7.4.300.0030.00316.47
7.4.290.0040.00416.52
7.4.280.0020.00816.56
7.4.270.0000.00616.58
7.4.260.0050.00013.40
7.4.250.0030.00316.58
7.4.240.0000.00716.65
7.4.230.0030.00316.38
7.4.220.0070.00016.62
7.4.210.0070.00716.73
7.4.200.0040.00316.77
7.4.140.0080.01016.64
7.4.130.0050.01316.57
7.4.120.0120.00416.67
7.4.110.0140.00316.75
7.4.100.0160.00016.70
7.4.90.0130.00416.65
7.4.80.0110.00716.57
7.4.70.0130.00316.51
7.4.60.0090.00916.64
7.4.50.0090.00916.39
7.4.40.0070.01116.62
7.4.30.0070.01016.57
7.4.20.0110.00616.57
7.4.10.0060.01216.55
7.4.00.0110.00716.52
7.3.330.0030.00516.08
7.3.320.0000.00513.14
7.3.310.0030.00316.38
7.3.300.0040.00416.27
7.3.290.0060.00916.29
7.3.260.0120.00616.59
7.3.250.0060.01216.26
7.3.240.0080.01216.48
7.3.230.0090.00916.44
7.3.220.0110.00716.29
7.3.210.0090.00916.63
7.3.200.0120.00616.38
7.3.190.0170.00316.48
7.3.180.0000.01616.32
7.3.170.0040.01416.15
7.3.160.0170.00316.26
7.3.150.0090.00916.23
7.3.140.0100.01016.71
7.3.130.0110.00816.49
7.3.120.0160.00316.49
7.3.110.0120.00816.32
7.3.100.0120.01216.37
7.3.90.0140.00716.42
7.3.80.0080.01616.24
7.3.70.0190.00616.11
7.3.60.0160.00416.34
7.3.50.0140.00616.34
7.3.40.0090.00916.28
7.3.30.0070.01116.42
7.3.20.0170.01216.37
7.3.10.0110.00816.24
7.3.00.0070.01116.18

preferences:
32.58 ms | 403 KiB | 5 Q