3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'lhs: "1 U.S. dollar", rhs: "29.892653 Taiwan dollars"'; var_export( sscanf( $data, 'lhs: "%f %[^"]", rhs: "%f %[^"]"' ) );

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.0050.00517.21
8.4.120.0150.00423.73
8.4.110.0070.00718.54
8.4.100.0100.01017.87
8.4.90.0170.00617.80
8.4.80.0130.00717.68
8.4.70.0120.00717.68
8.4.60.0130.00718.59
8.4.50.0110.00817.72
8.4.40.0170.00317.63
8.4.30.0100.00618.56
8.4.20.0180.00019.63
8.4.10.0100.01019.60
8.3.260.0100.00916.26
8.3.250.0090.01016.49
8.3.240.0100.00917.06
8.3.230.0050.00316.38
8.3.220.0120.00517.29
8.3.210.0080.01016.67
8.3.200.0100.00816.41
8.3.190.0030.00516.99
8.3.180.0140.00516.41
8.3.170.0090.00019.02
8.3.160.0110.00718.07
8.3.150.0140.00417.16
8.3.140.0110.00419.03
8.3.130.0040.00418.24
8.3.120.0040.00418.60
8.3.110.0090.00020.94
8.3.100.0060.00324.06
8.3.90.0040.01116.38
8.3.80.0450.00330.84
8.3.70.0460.00430.84
8.3.60.0390.00930.84
8.3.50.0150.00430.84
8.3.40.0270.01130.84
8.3.30.0330.00630.84
8.3.20.0320.00630.84
8.3.10.0380.00330.84
8.3.00.0280.00930.84
8.2.290.0030.00620.18
8.2.280.0090.01018.48
8.2.270.0110.00718.88
8.2.260.0120.00616.41
8.2.250.0070.00418.14
8.2.240.0030.00717.07
8.2.230.0090.00022.58
8.2.220.0040.00837.54
8.2.210.0060.00326.77
8.2.200.0360.00530.84
8.2.190.0260.01530.84
8.2.180.0350.00630.84
8.2.170.0360.00930.84
8.2.160.0270.01830.84
8.2.150.0380.00430.84
8.2.140.0390.00830.84
8.2.130.0410.00330.84
8.2.120.0290.01630.84
8.2.110.0420.00030.84
8.2.100.0310.00930.84
8.2.90.0350.00730.84
8.2.80.0280.01130.84
8.2.70.0490.00630.84
8.2.60.0310.00930.84
8.2.50.0300.00330.84
8.2.40.0340.00330.84
8.2.30.0460.00030.84
8.2.20.0320.01330.84
8.2.10.0300.00330.84
8.2.00.0170.00430.84
8.1.330.0110.00721.63
8.1.320.0110.00815.93
8.1.310.0150.00016.45
8.1.300.0140.00018.26
8.1.290.0160.00230.84
8.1.280.0190.00830.84
8.1.270.0100.01030.84
8.1.260.0270.00830.84
8.1.250.0400.00730.84
8.1.240.0320.00630.84
8.1.230.0360.00930.84
8.1.220.0440.00330.84
8.1.210.0300.01030.84
8.1.200.0300.00730.84
8.1.190.0260.00830.84
8.1.180.0220.01130.84
8.1.170.0280.00330.84
8.1.160.0240.00730.84
8.1.150.0310.00630.84
8.1.140.0290.00830.84
8.1.130.0370.00030.84
8.1.120.0310.00630.84
8.1.110.0280.00730.84
8.1.100.0270.00730.84
8.1.90.0260.01530.84
8.1.80.0310.00930.84
8.1.70.0310.01030.84
8.1.60.0400.00630.84
8.1.50.0360.00330.84
8.1.40.0360.00630.84
8.1.30.0280.00830.84
8.1.20.0320.00630.84
8.1.10.0310.01030.84
8.1.00.0410.00030.84

preferences:
29.42 ms | 403 KiB | 5 Q