3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<HTML Dear friends, I just wanted so Hello. How are you guys? I'm fine, thanks! Greetings, Bill HTML; echo preg_replace('/\R/', '<br />', $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.30.0100.00719.63
8.5.20.0100.00720.08
8.5.10.0090.01216.93
8.5.00.0110.01120.20
8.4.180.0090.01319.67
8.4.170.0160.00720.25
8.4.160.0150.00720.63
8.4.150.0070.00516.93
8.4.140.0120.01017.88
8.4.130.0090.01018.61
8.4.120.0030.00620.81
8.4.110.0070.00218.88
8.4.100.0110.00818.95
8.4.90.0090.01020.85
8.4.80.0040.00420.56
8.4.70.0130.00718.16
8.4.60.0150.00618.64
8.4.50.0110.00818.70
8.4.40.0130.00717.46
8.4.30.0130.00718.61
8.4.20.0080.00419.50
8.4.10.0030.00619.48
8.3.300.0120.00820.72
8.3.290.0090.01120.69
8.3.280.0140.00718.25
8.3.270.0150.00618.22
8.3.260.0120.00416.66
8.3.250.0060.00217.27
8.3.240.0060.00516.55
8.3.230.0110.00816.46
8.3.220.0020.00718.73
8.3.210.0090.01116.65
8.3.200.0110.01216.57
8.3.190.0080.01016.98
8.3.180.0120.00617.00
8.3.170.0040.00418.93
8.3.160.0090.00618.45
8.3.150.0140.00416.98
8.3.140.0030.00518.51
8.3.130.0060.00318.39
8.3.120.0000.00820.65
8.3.110.0080.00420.94
8.3.100.0040.00418.34
8.3.90.0040.00418.23
8.3.80.0370.01030.84
8.3.70.0380.01030.84
8.3.60.0400.00730.84
8.3.50.0180.00430.84
8.3.40.0410.00330.84
8.3.30.0410.00730.84
8.3.20.0340.00430.84
8.3.10.0260.01330.84
8.3.00.0260.00330.84
8.2.300.0130.00720.15
8.2.290.0110.00720.61
8.2.280.0120.00718.37
8.2.270.0110.00717.22
8.2.260.0120.00618.25
8.2.250.0140.00418.48
8.2.240.0040.01518.86
8.2.230.0040.00422.58
8.2.220.0060.00324.06
8.2.210.0040.00426.77
8.2.200.0140.00530.84
8.2.190.0250.00330.84
8.2.180.0200.00330.84
8.2.170.0190.00030.84
8.2.160.0320.01030.84
8.2.150.0400.00830.84
8.2.140.0330.00630.84
8.2.130.0400.00030.84
8.2.120.0200.00830.84
8.2.110.0430.00430.84
8.2.100.0400.00430.84
8.2.90.0310.01030.84
8.2.80.0340.00730.84
8.2.70.0340.00830.84
8.2.60.0350.00730.84
8.2.50.0400.00430.84
8.2.40.0230.01630.84
8.2.30.0350.00830.84
8.2.20.0330.00830.84
8.2.10.0260.00330.84
8.2.00.0230.01030.84
8.1.340.0100.01020.36
8.1.330.0090.00921.88
8.1.320.0110.00718.16
8.1.310.0160.00316.67
8.1.300.0030.00617.88
8.1.290.0220.00330.84
8.1.280.0120.00630.84
8.1.270.0160.00730.84
8.1.260.0150.00530.84
8.1.250.0190.00030.84
8.1.240.0350.00330.84
8.1.230.0330.00330.84
8.1.220.0260.01130.84
8.1.210.0270.00830.84
8.1.200.0310.00030.84
8.1.190.0310.00830.84
8.1.180.0300.00830.84
8.1.170.0320.00630.84
8.1.160.0310.00730.84
8.1.150.0280.00930.84
8.1.140.0290.00030.84
8.1.130.0140.00330.84
8.1.120.0150.00430.84
8.1.110.0390.00630.84
8.1.100.0310.00430.84
8.1.90.0290.00930.84
8.1.80.0270.00630.84
8.1.70.0270.00330.84
8.1.60.0260.00730.84
8.1.50.0350.00630.84
8.1.40.0370.01030.84
8.1.30.0400.00030.84
8.1.20.0260.00730.84
8.1.10.0270.00630.84
8.1.00.0460.00330.84

preferences:
48.2 ms | 992 KiB | 5 Q