3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Hello 123.02 ??? 04"; $result = sscanf($str, "%s %f %s %d"); print_r($result);

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.3.130.0040.01118.36
8.3.120.0130.00618.82
8.3.110.0050.00520.94
8.3.100.0110.00416.47
8.3.90.0110.00426.77
8.3.80.0030.00616.50
8.3.70.0120.00618.18
8.3.60.0110.00718.20
8.3.50.0130.00717.35
8.3.40.0120.00918.32
8.3.30.0030.01318.64
8.3.20.0070.00020.66
8.3.10.0080.00018.85
8.3.00.0040.00421.89
8.2.250.0060.01216.48
8.2.240.0110.00718.87
8.2.230.0000.00922.58
8.2.220.0030.00524.06
8.2.210.0100.00726.77
8.2.200.0000.01116.63
8.2.190.0040.01116.58
8.2.180.0090.00925.92
8.2.170.0100.01022.96
8.2.160.0070.01020.25
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0040.00421.13
8.2.110.0100.00019.31
8.2.100.0090.00317.66
8.2.90.0040.00418.18
8.2.80.0030.00517.97
8.2.70.0030.00517.90
8.2.60.0000.00818.09
8.2.50.0030.00618.10
8.2.40.0000.00719.32
8.2.30.0000.00719.05
8.2.20.0030.00618.04
8.2.10.0000.00718.96
8.2.00.0000.00719.41
8.1.300.0070.00318.17
8.1.290.0060.00330.84
8.1.280.0140.00025.92
8.1.270.0000.00822.04
8.1.260.0090.00026.35
8.1.250.0080.00628.09
8.1.240.0030.00620.61
8.1.230.0090.00320.97
8.1.220.0030.00517.79
8.1.210.0000.00918.82
8.1.200.0050.00517.23
8.1.190.0030.00617.22
8.1.180.0080.00018.10
8.1.170.0030.00618.65
8.1.160.0000.00718.81
8.1.150.0000.00718.73
8.1.140.0070.00018.88
8.1.130.0040.00417.41
8.1.120.0030.00317.34
8.1.110.0070.00017.39
8.1.100.0000.00817.37
8.1.90.0060.00317.25
8.1.80.0040.00417.36
8.1.70.0030.00317.29
8.1.60.0030.00617.47
8.1.50.0030.00617.33
8.1.40.0040.00417.45
8.1.30.0040.00417.60
8.1.20.0000.00917.58
8.1.10.0040.00417.45
8.1.00.0070.00017.26
8.0.300.0000.00719.93
8.0.290.0000.01116.63
8.0.280.0070.00018.36
8.0.270.0000.00717.16
8.0.260.0000.00616.74
8.0.250.0000.00616.91
8.0.240.0030.00316.82
8.0.230.0040.00416.91
8.0.220.0030.00316.80
8.0.210.0070.00016.72
8.0.200.0030.00316.91
8.0.190.0030.00316.73
8.0.180.0000.00716.73
8.0.170.0000.00916.80
8.0.160.0000.00716.78
8.0.150.0000.00716.59
8.0.140.0070.00016.77
8.0.130.0000.00613.18
8.0.120.0030.00316.74
8.0.110.0000.00716.86
8.0.100.0000.00716.68
8.0.90.0040.00416.62
8.0.80.0100.01016.87
8.0.70.0000.00716.64
8.0.60.0040.00416.72
8.0.50.0060.00316.82
8.0.30.0090.00617.07
8.0.20.0040.01417.03
8.0.10.0040.00416.89
8.0.00.0090.01316.48
7.4.330.0000.00615.55
7.4.320.0000.00616.44
7.4.300.0030.00316.42
7.4.290.0000.00716.57
7.4.280.0040.00416.38
7.4.270.0030.00316.41
7.4.260.0080.00016.44
7.4.250.0000.00716.41
7.4.240.0030.00316.38
7.4.230.0030.00316.55
7.4.220.0000.00716.52
7.4.210.0060.00916.49
7.4.200.0070.00016.64
7.4.160.0080.00816.51
7.4.140.0120.00617.86
7.4.130.0060.01016.34
7.4.120.0080.01616.48
7.4.110.0120.00616.36
7.4.100.0100.01316.26
7.4.90.0080.00816.43
7.4.80.0120.00619.39
7.4.70.0060.01216.43
7.4.60.0090.00616.36
7.4.50.0040.01116.19
7.4.40.0030.01616.40
7.4.00.0110.00714.96
7.3.330.0030.00312.89
7.3.320.0050.00012.94
7.3.310.0000.00816.09
7.3.300.0050.00216.15
7.3.290.0070.00816.15
7.3.280.0110.01216.17
7.3.260.0110.00716.22
7.3.230.0100.00616.08
7.3.210.0090.01216.14
7.3.200.0100.00716.47
7.3.190.0040.01616.44
7.3.180.0070.00816.21
7.3.170.0060.01216.21
7.3.160.0100.00716.20
7.3.50.0060.01014.79
7.3.40.0180.00314.51
7.3.30.0080.00314.41
7.3.20.0140.00914.76
7.3.10.0240.00014.59
7.3.00.0090.00314.71
7.2.330.0060.01616.52
7.2.320.0060.01216.27
7.2.310.0060.01016.54
7.2.300.0100.00716.48
7.2.290.0160.00016.38
7.2.180.0030.01714.70
7.2.170.0110.01214.82
7.2.160.0110.00614.50
7.2.150.0130.01014.80
7.2.140.0150.00714.86
7.2.130.0040.01214.79
7.2.120.0170.00715.00
7.2.110.0120.00314.97
7.2.100.0130.01014.65
7.2.90.0100.01014.91
7.2.80.0090.00914.91
7.2.70.0130.00315.01
7.2.60.0100.00314.67
7.2.50.0140.00314.57
7.2.40.0920.00314.82
7.2.30.0130.01014.95
7.2.20.0140.01114.88
7.2.10.0100.01314.80
7.2.00.0140.01014.91
7.1.280.0180.00713.85
7.1.270.0150.00014.04
7.1.260.0080.00413.92
7.1.250.0160.00913.93

preferences:
27.45 ms | 403 KiB | 5 Q