3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = '12255252-675765675'; var_dump(sscanf($string, '%d-%d'));

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.0070.01019.23
8.5.20.0090.01120.36
8.5.10.0120.00916.61
8.5.00.0090.01219.96
8.4.180.0150.01119.64
8.4.170.0100.01125.70
8.4.160.0100.01323.79
8.4.150.0070.00516.83
8.4.140.0110.01317.70
8.4.130.0050.00818.82
8.4.120.0130.00623.66
8.4.110.0080.00918.61
8.4.100.0080.00318.75
8.4.90.0140.00620.54
8.4.80.0050.00418.54
8.4.70.0070.00819.68
8.4.60.0070.00718.81
8.4.50.0110.00918.41
8.4.40.0130.00717.39
8.4.30.0140.00718.82
8.4.20.0150.00619.53
8.4.10.0080.00019.50
8.3.300.0100.01020.75
8.3.290.0060.00418.18
8.3.280.0100.01018.41
8.3.270.0120.00816.67
8.3.260.0060.00316.33
8.3.250.0050.00318.82
8.3.240.0120.00817.18
8.3.230.0060.00316.48
8.3.220.0060.00218.84
8.3.210.0120.00716.48
8.3.200.0010.00716.46
8.3.190.0120.00917.07
8.3.180.0100.00716.97
8.3.170.0110.00719.01
8.3.160.0150.00316.64
8.3.150.0160.00317.26
8.3.140.0150.00318.22
8.3.130.0130.00718.11
8.3.120.0030.00618.98
8.3.110.0090.00016.53
8.3.100.0030.00716.46
8.3.90.0070.00718.30
8.3.80.0180.00930.84
8.3.70.0200.01230.84
8.3.60.0350.00930.84
8.3.50.0060.00930.84
8.3.40.0270.01230.84
8.3.30.0220.01630.84
8.3.20.0550.00330.84
8.3.10.0390.00430.84
8.3.00.0160.00430.84
8.2.300.0100.00918.89
8.2.290.0130.00620.29
8.2.280.0120.00818.22
8.2.270.0100.00717.35
8.2.260.0050.00318.27
8.2.250.0090.00618.54
8.2.240.0090.00317.20
8.2.230.0000.00820.94
8.2.220.0130.00724.06
8.2.210.0160.00026.77
8.2.200.0240.00330.84
8.2.190.0180.00730.84
8.2.180.0230.00030.84
8.2.170.0340.00730.84
8.2.160.0290.00630.84
8.2.150.0400.00430.84
8.2.140.0450.00330.84
8.2.130.0310.00630.84
8.2.120.0400.00730.84
8.2.110.0340.00030.84
8.2.100.0220.00330.84
8.2.90.0340.00030.84
8.2.80.0240.00030.84
8.2.70.0190.00430.84
8.2.60.0230.00030.84
8.2.50.0210.00330.84
8.2.40.0240.00330.84
8.2.30.0270.00930.84
8.2.20.0320.00730.84
8.2.10.0300.00930.84
8.2.00.0220.01330.84
8.1.340.0110.00817.55
8.1.330.0110.00721.65
8.1.320.0110.00916.01
8.1.310.0070.01116.44
8.1.300.0060.01318.31
8.1.290.0360.00330.84
8.1.280.0340.00930.84
8.1.270.0390.00730.84
8.1.260.0350.01330.84
8.1.250.0340.01330.84
8.1.240.0280.01230.84
8.1.230.0300.01030.84
8.1.220.0220.01030.84
8.1.210.0140.01030.84
8.1.200.0250.00930.84
8.1.190.0310.00330.84
8.1.180.0260.00630.84
8.1.170.0270.00330.84
8.1.160.0240.00930.84
8.1.150.0310.00730.84
8.1.140.0280.00730.84
8.1.130.0250.00630.84
8.1.120.0330.00730.84
8.1.110.0320.00430.84
8.1.100.0320.00330.84
8.1.90.0090.02230.84
8.1.80.0210.01130.84
8.1.70.0270.01230.84
8.1.60.0370.00730.84
8.1.50.0270.01130.84
8.1.40.0360.00630.84
8.1.30.0380.00330.84
8.1.20.0400.00330.84
8.1.10.0330.00930.84
8.1.00.0370.00930.84

preferences:
57.78 ms | 979 KiB | 5 Q