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.0130.00618.89
8.4.120.0050.00524.06
8.4.110.0050.00518.88
8.4.100.0080.00219.06
8.4.90.0110.01122.32
8.4.80.0060.00318.71
8.4.70.0040.00418.75
8.4.60.0030.00518.96
8.4.50.0130.01020.31
8.4.40.0140.00719.25
8.4.30.0150.00018.78
8.4.20.0120.00319.81
8.4.10.0100.01019.29
8.3.260.0120.00816.65
8.3.250.0090.00918.79
8.3.240.0070.00217.04
8.3.230.0060.00416.54
8.3.220.0080.01018.80
8.3.210.0090.01018.49
8.3.200.0040.00516.48
8.3.190.0090.01220.77
8.3.180.0120.00618.75
8.3.170.0150.00418.89
8.3.160.0040.00416.73
8.3.150.0140.00418.69
8.3.140.0080.00017.02
8.3.130.0060.01218.16
8.3.120.0060.00318.24
8.3.110.0100.01016.44
8.3.100.0060.00320.36
8.3.90.0130.00616.61
8.3.80.0450.00430.84
8.3.70.0380.01130.84
8.3.60.0440.00330.84
8.3.50.0170.00630.84
8.3.40.0270.00730.84
8.3.30.0290.00330.84
8.3.20.0240.00630.84
8.3.10.0330.00330.84
8.3.00.0210.01030.84
8.2.290.0050.00522.29
8.2.280.0100.00519.85
8.2.270.0090.00917.07
8.2.260.0040.00418.20
8.2.250.0030.00616.71
8.2.240.0080.00017.22
8.2.230.0030.00520.94
8.2.220.0070.00324.06
8.2.210.0070.00326.77
8.2.200.0270.00630.84
8.2.190.0360.00030.84
8.2.180.0280.00830.84
8.2.170.0230.01630.84
8.2.160.0250.00730.84
8.2.150.0280.00330.84
8.2.140.0420.01330.84
8.2.130.0200.00430.84
8.2.120.0290.00630.84
8.2.110.0160.00430.84
8.2.100.0330.00730.84
8.2.90.0300.01130.84
8.2.80.0330.00330.84
8.2.70.0320.01130.84
8.2.60.0290.00730.84
8.2.50.0230.00330.84
8.2.40.0270.00430.84
8.2.30.0310.00730.84
8.2.20.0310.00830.84
8.2.10.0490.00930.84
8.2.00.0380.00330.84
8.1.330.0040.00422.01
8.1.320.0110.00817.57
8.1.310.0070.00718.25
8.1.300.0160.00317.88
8.1.290.0390.00330.84
8.1.280.0330.00730.84
8.1.270.0400.00330.84
8.1.260.0310.00430.84
8.1.250.0390.00630.84
8.1.240.0270.01030.84
8.1.230.0250.01330.84
8.1.220.0380.00430.84
8.1.210.0320.00930.84
8.1.200.0280.00930.84
8.1.190.0310.01230.84
8.1.180.0290.01030.84
8.1.170.0350.00730.84
8.1.160.0230.01030.84
8.1.150.0250.00930.84
8.1.140.0300.00630.84
8.1.130.0300.00730.84
8.1.120.0280.00930.84
8.1.110.0270.00930.84
8.1.100.0290.00430.84
8.1.90.0120.00630.84
8.1.80.0140.00330.84
8.1.70.0210.01530.84
8.1.60.0140.00530.84
8.1.50.0310.00930.84
8.1.40.0350.00730.84
8.1.30.0490.00530.84
8.1.20.0350.00830.84
8.1.10.0330.00330.84
8.1.00.0180.00730.84

preferences:
51.93 ms | 403 KiB | 5 Q