3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '"Cat1","Cat2","Cat3"'; vprintf( '"%s","%s","%s","%s","%s","%s"', str_getcsv("$str,,,,,", escape: '') );

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.0080.00917.70
8.5.20.0080.00820.12
8.5.10.0130.00516.47
8.5.00.0130.01019.93
8.4.180.0120.01022.05
8.4.170.0130.00920.32
8.4.160.0090.01420.62
8.4.150.0080.00416.76
8.4.140.0230.00817.46
8.4.130.0090.01118.67
8.4.120.0100.00924.05
8.4.110.0130.00820.59
8.4.100.0090.00718.88
8.4.90.0130.00720.74
8.4.80.0140.00818.81
8.4.70.0120.00718.80
8.4.60.0110.00918.73
8.4.50.0100.01020.30
8.4.40.0100.01017.36
8.4.30.0100.01020.46
8.4.20.0290.00617.55
8.4.10.0190.00617.39
8.3.300.0120.01020.72
8.3.290.0130.00720.71
8.3.280.0040.00518.33
8.3.270.0130.00616.73
8.3.260.0100.00716.74
8.3.250.0050.00318.75
8.3.240.0090.00916.97
8.3.230.0050.00716.46
8.3.220.0130.00518.82
8.3.210.0120.00718.40
8.3.200.0060.00316.57
8.3.190.0080.00720.81
8.3.180.0120.00718.88
8.3.170.0150.00417.06
8.3.160.0070.00716.25
8.3.150.0160.00516.26
8.3.140.0160.00516.26
8.3.130.0120.00616.25
8.3.120.0180.00016.33
8.3.110.0140.00516.16
8.3.100.0180.00116.23
8.3.90.0170.00316.44
8.3.80.0160.00516.20
8.3.70.0180.00116.28
8.3.60.0190.00216.20
8.3.50.0200.00016.22
8.3.40.0170.00717.20
8.3.30.0180.00417.31
8.3.20.0140.00917.23
8.3.10.0160.00717.11
8.3.00.0150.00417.35
8.2.300.0100.01020.41
8.2.290.0030.00522.28
8.2.280.0050.00318.52
8.2.270.0230.00116.54
8.2.260.0150.00616.34
8.2.250.0130.00416.64
8.2.240.0150.00216.32
8.2.230.0130.00516.44
8.2.220.0150.00216.11
8.2.210.0120.00516.40
8.2.200.0110.00616.55
8.2.190.0140.00316.21
8.2.180.0140.00416.33
8.2.170.0200.00217.54
8.2.160.0160.00617.50
8.2.150.0120.00517.42
8.2.140.0150.00217.30
8.2.130.0150.00617.17
8.2.120.0110.00617.33
8.2.110.0130.00617.41
8.2.100.0150.00417.39
8.2.90.0180.00617.43
8.2.80.0220.00417.37
8.2.70.0240.00017.38
8.2.60.0190.00517.41
8.2.50.0300.00317.14
8.2.40.0250.01017.38
8.2.30.0270.00517.16
8.2.20.0240.00317.21
8.2.10.0190.00617.39
8.2.00.0240.00517.32
8.1.340.0140.00820.23
8.1.320.0100.01016.19

preferences:
43.52 ms | 844 KiB | 5 Q