3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<button @click="test()">ÁÈ</button>'; $html = preg_replace('/@([a-z]+)\=/i', '$1=', $html); echo $html;

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.00.0140.01020.26
8.4.150.0010.00114.05
8.4.140.0120.00917.49
8.4.130.0110.01017.86
8.4.120.0120.00320.55
8.4.110.0100.01022.34
8.4.100.0130.00817.76
8.4.90.0090.00818.73
8.4.80.0120.00717.82
8.4.70.0080.01217.95
8.4.60.0130.01019.02
8.4.50.0040.00520.47
8.4.40.0130.00617.80
8.4.30.0110.00720.67
8.4.20.0160.00318.03
8.4.10.0100.00621.98
8.3.280.0120.01018.52
8.3.270.0100.01016.61
8.3.260.0100.00216.53
8.3.250.0120.00718.56
8.3.240.0040.00516.32
8.3.230.0110.00816.77
8.3.220.0110.00617.23
8.3.210.0040.00418.31
8.3.200.0040.00516.82
8.3.190.0110.00816.96
8.3.180.0130.00516.79
8.3.170.0130.00616.96
8.3.160.0120.00618.27
8.3.150.0140.00420.55
8.3.140.0050.00316.63
8.3.130.0060.00318.42
8.3.120.0090.00918.75
8.3.110.0080.01120.94
8.3.100.0100.00020.40
8.3.90.0050.00318.40
8.3.80.0060.00318.55
8.3.70.0120.00916.74
8.3.60.0000.01418.06
8.3.50.0150.00316.80
8.3.40.0130.00721.86
8.3.30.0120.00318.73
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0030.00626.16
8.2.290.0120.00620.50
8.2.280.0060.00218.50
8.2.270.0110.00719.25
8.2.260.0070.01118.92
8.2.250.0040.00416.70
8.2.240.0030.00617.29
8.2.230.0040.00422.58
8.2.220.0110.00824.06
8.2.210.0070.01326.77
8.2.200.0030.00618.16
8.2.190.0070.01118.54
8.2.180.0150.00616.38
8.2.170.0140.00019.12
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0050.00320.95
8.2.110.0090.00020.52
8.2.100.0060.00617.91
8.2.90.0070.00717.75
8.2.80.0270.00317.50
8.2.70.0230.00717.63
8.2.60.0220.00917.63
8.2.50.0260.00017.38
8.2.40.0210.00717.59
8.2.30.0250.00517.61
8.2.20.0080.00619.72
8.2.10.0230.00317.63
8.2.00.0190.00817.63
8.1.330.0100.00821.75
8.1.320.0100.01116.22
8.1.310.0050.00316.85
8.1.300.0040.00716.38
8.1.290.0000.01018.88
8.1.280.0110.00725.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0030.00622.18
8.1.230.0110.00020.86
8.1.220.0200.00817.60
8.1.210.0260.00017.34
8.1.200.0280.00017.09
8.1.190.0200.00717.13
8.1.180.0260.00017.25
8.1.170.0230.00417.13
8.1.160.0210.00517.13
8.1.150.0210.00817.38
8.1.140.0270.00017.47
8.1.130.0250.00317.46
8.1.120.0300.00317.25
8.1.110.0290.00017.25
8.1.100.0290.00017.25
8.1.90.0230.00617.23
8.1.80.0280.00317.13
8.1.70.0230.00317.25
8.1.60.0220.00617.63
8.1.50.0250.00417.38
8.1.40.0270.00217.60
8.1.30.0240.00517.50
8.1.20.0250.00417.50
8.1.10.0200.00817.50
8.1.00.0220.00517.13
8.0.300.0300.00016.80
8.0.290.0270.00716.80
8.0.280.0180.01016.80
8.0.270.0230.00916.80
8.0.260.0250.00416.80
8.0.250.0240.00316.80
8.0.240.0210.00616.80
8.0.230.0230.00516.80
8.0.220.0260.00416.80
8.0.210.0220.00616.80
8.0.200.0250.00316.80
8.0.190.0220.00616.80
8.0.180.0200.00916.80
8.0.170.0210.00716.80
8.0.160.0190.00716.80
8.0.150.0290.00416.80
8.0.140.0210.00716.80
8.0.130.0220.01116.80
8.0.120.0210.00716.80
8.0.110.0210.00316.80
8.0.100.0230.00416.80
8.0.90.0220.00316.80
8.0.80.0240.00616.80
8.0.70.0250.00316.80
8.0.60.0190.00816.80
8.0.50.0250.00316.80
8.0.30.0160.01116.80
8.0.20.0230.00316.80
8.0.10.0180.00816.88

preferences:
38.29 ms | 403 KiB | 5 Q