3v4l.org

run code in 300+ PHP versions simultaneously
<?php $recipients = [ "kumar", "ram@test.com", "ravi", "rob@example.com" ]; echo implode( ', ', preg_replace( '/^[^@]+$/', '$0@test.com', $recipients ) );

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.4.130.0120.00818.55
8.4.120.0090.01020.43
8.4.110.0130.00619.05
8.4.100.0120.00618.09
8.4.90.0150.00620.61
8.4.80.0120.00718.73
8.4.70.0030.00518.78
8.4.60.0150.00620.86
8.4.50.0110.01022.41
8.4.40.0130.00618.87
8.4.30.0130.00319.05
8.4.20.0130.00719.80
8.4.10.0060.00319.75
8.3.260.0150.00516.56
8.3.250.0070.00517.15
8.3.240.0110.00916.55
8.3.230.0040.00416.81
8.3.220.0050.00218.71
8.3.210.0100.00816.84
8.3.200.0020.00716.43
8.3.190.0110.00717.16
8.3.180.0120.00619.04
8.3.170.0120.00617.01
8.3.160.0060.00918.54
8.3.150.0080.00017.13
8.3.140.0080.00016.62
8.3.130.0080.00018.55
8.3.120.0040.00418.88
8.3.110.0060.00316.55
8.3.100.0060.00318.35
8.3.90.0050.00326.77
8.3.80.0100.00019.36
8.3.70.0110.00416.50
8.3.60.0090.00616.57
8.3.50.0100.01016.57
8.3.40.0090.01321.60
8.3.30.0120.00920.82
8.3.20.0030.01723.53
8.3.10.0150.00623.70
8.3.00.0110.01120.85
8.2.290.0070.00917.34
8.2.280.0100.00820.20
8.2.270.0060.00318.70
8.2.260.0000.00818.91
8.2.250.0080.00816.86
8.2.240.0100.00018.27
8.2.230.0060.00320.94
8.2.220.0030.01224.06
8.2.210.0080.00026.77
8.2.200.0060.00318.88
8.2.190.0190.00016.68
8.2.180.0210.00316.48
8.2.170.0120.00920.78
8.2.160.0140.00721.90
8.2.150.0120.00920.74
8.2.140.0130.00722.15
8.2.130.0120.00822.26
8.2.120.0070.01321.18
8.2.110.0030.01721.07
8.2.100.0210.00020.96
8.2.90.0150.00720.68
8.2.80.0150.00620.96
8.2.70.0150.00720.62
8.2.60.0100.01020.82
8.2.50.0060.01221.00
8.2.40.0180.00320.81
8.2.30.0100.01020.72
8.2.20.0140.00720.69
8.2.10.0150.00320.50
8.2.00.0100.01020.50
8.1.330.0130.00616.20
8.1.320.0080.01117.75
8.1.310.0100.00716.93
8.1.300.0070.01316.29
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0110.00723.88
8.1.260.0150.00623.64
8.1.250.0100.00724.01
8.1.240.0150.00620.32
8.1.230.0160.00620.43
8.1.220.0140.00420.65
8.1.210.0070.01320.24
8.1.200.0090.00920.50
8.1.190.0110.01120.37
8.1.180.0110.01119.95
8.1.170.0150.00320.47
8.1.160.0000.01520.25
8.1.150.0140.00320.39
8.1.140.0000.01620.43
8.1.130.0100.01020.34
8.1.120.0120.00620.40
8.1.110.0080.00820.28
8.1.100.0090.00621.52
8.1.90.0100.00720.25
8.1.80.0040.01121.64
8.1.70.0070.00720.54
8.1.60.0090.00620.48
8.1.50.0070.00720.54
8.1.40.0040.01120.59
8.1.30.0140.00320.71
8.1.20.0070.00721.85
8.1.10.0060.01120.60
8.1.00.0060.00920.48

preferences:
54.09 ms | 403 KiB | 5 Q