3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'A011'; var_dump(intval($str));

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.20.0070.01317.72
8.4.10.0060.00317.48
8.3.150.0060.01319.11
8.3.140.0080.00018.68
8.3.130.0050.00316.44
8.3.120.0110.00819.01
8.3.110.0090.00020.94
8.3.100.0160.00316.74
8.3.90.0110.00426.77
8.3.80.0090.00016.49
8.3.70.0040.01116.49
8.3.60.0120.00616.49
8.3.50.0100.00921.14
8.3.40.0090.00618.47
8.3.30.0120.00318.42
8.3.20.0040.00419.99
8.3.10.0080.00021.70
8.3.00.0060.00319.13
8.2.270.0120.00316.61
8.2.260.0090.00917.13
8.2.250.0060.00316.61
8.2.240.0150.00317.32
8.2.230.0080.00022.58
8.2.220.0000.00824.06
8.2.210.0040.00426.77
8.2.200.0100.00016.38
8.2.190.0170.00317.99
8.2.180.0040.01118.16
8.2.170.0080.00622.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0030.00617.63
8.2.120.0040.00426.35
8.2.110.0030.00722.24
8.2.100.0080.00417.93
8.2.90.0040.00419.23
8.2.80.0040.00417.97
8.2.70.0060.00616.88
8.2.60.0000.00917.93
8.2.50.0000.01118.07
8.2.40.0050.00319.46
8.2.30.0000.00720.61
8.2.20.0070.00317.61
8.2.10.0040.00417.94
8.2.00.0060.00317.90
8.1.310.0070.00716.76
8.1.300.0040.01419.34
8.1.290.0060.00330.84
8.1.280.0090.00925.92
8.1.270.0100.00023.97
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0030.00720.71
8.1.230.0070.00417.66
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0040.00417.23
8.1.190.0000.00717.57
8.1.180.0000.00818.10
8.1.170.0040.00418.43
8.1.160.0000.00721.87
8.1.150.0000.00718.81
8.1.140.0040.00419.41
8.1.130.0000.00817.68
8.1.120.0040.00417.36
8.1.110.0040.00417.43
8.1.100.0040.00417.42
8.1.90.0040.00417.25
8.1.80.0030.00517.32
8.1.70.0040.00417.45
8.1.60.0000.00717.51
8.1.50.0000.00817.54
8.1.40.0070.00317.41
8.1.30.0040.00417.61
8.1.20.0040.00417.60
8.1.10.0040.00417.42
8.1.00.0000.00817.42
8.0.300.0000.00818.77
8.0.290.0050.00216.63
8.0.280.0030.00318.41
8.0.270.0030.00317.21
8.0.260.0050.00317.19
8.0.250.0030.00316.85
8.0.240.0000.00616.81
8.0.230.0000.00716.89
8.0.220.0040.00416.83
8.0.210.0040.00416.82
8.0.200.0060.00016.87
8.0.190.0050.00316.79
8.0.180.0040.00416.71
8.0.170.0000.00816.90
8.0.160.0070.00016.70
8.0.150.0030.00616.67
8.0.140.0030.00316.66
8.0.130.0050.00013.25
8.0.120.0040.00416.79
8.0.110.0000.00816.71
8.0.100.0050.00316.81
8.0.90.0030.00316.87
8.0.80.0040.01416.70
8.0.70.0080.00016.80
8.0.60.0020.00516.85
8.0.50.0050.00216.79
8.0.30.0130.00717.01
8.0.20.0150.00717.40
8.0.10.0040.00416.77
8.0.00.0090.00816.64
7.4.330.0020.00216.73
7.4.320.0030.00316.61
7.4.300.0030.00316.57
7.4.290.0030.00316.56
7.4.280.0070.00016.62
7.4.270.0000.00716.64
7.4.260.0030.00716.58
7.4.250.0040.00416.44
7.4.240.0030.00416.49
7.4.230.0070.00016.66
7.4.220.0110.01016.43
7.4.210.0070.01316.45
7.4.200.0030.00616.41
7.4.160.0120.00416.38
7.4.150.0100.01017.40
7.4.140.0140.01017.86
7.4.130.0120.00716.41
7.4.120.0110.00816.37
7.4.110.0090.00916.54
7.4.100.0160.00316.45
7.4.90.0070.01016.30
7.4.80.0060.01019.39
7.4.70.0150.00316.52
7.4.60.0110.00516.16
7.4.50.0080.00316.50
7.4.40.0060.00916.64
7.4.30.0120.00416.64
7.4.10.0110.00714.98
7.4.00.0080.01014.89
7.3.330.0050.00013.02
7.3.320.0000.00512.94
7.3.310.0000.00716.18
7.3.300.0040.00216.16
7.3.290.0030.00316.10
7.3.280.0070.00816.19
7.3.270.0120.00617.40
7.3.260.0030.01516.39
7.3.250.0100.00816.22
7.3.240.0090.00816.16
7.3.230.0060.00916.39
7.3.210.0030.01316.46
7.3.200.0100.00616.25
7.3.190.0050.01316.50
7.3.180.0090.00916.25
7.3.170.0000.01716.27
7.3.160.0060.01516.43
7.3.130.0070.01114.96
7.3.120.0070.00715.00
7.3.110.0120.00814.68
7.3.100.0060.00614.98
7.3.90.0040.01114.90
7.3.80.0100.00314.63
7.3.70.0070.00714.62
7.3.60.0030.00614.70
7.3.50.0040.00414.49
7.3.40.0000.01514.87
7.3.30.0030.01414.71
7.3.20.0070.00716.69
7.3.10.0040.01116.51
7.3.00.0100.00316.71
7.2.330.0000.01716.30
7.2.320.0100.00716.48
7.2.310.0120.00616.61
7.2.300.0090.01216.36
7.2.290.0060.01116.38
7.2.260.0110.00714.86
7.2.250.0130.00714.81
7.2.240.0070.00714.57
7.2.230.0030.01015.04
7.2.220.0030.00714.84
7.2.210.0040.01114.99
7.2.200.0110.00314.95
7.2.190.0000.01414.96
7.2.180.0060.00314.94
7.2.170.0070.00714.98
7.2.160.0030.00714.83
7.2.150.0030.00616.73
7.2.140.0060.00916.83
7.2.130.0030.01016.95
7.2.120.0090.00016.68
7.2.110.0040.01116.41
7.2.100.0060.00616.80
7.2.90.0090.00616.74
7.2.80.0100.00716.93
7.2.70.0070.00416.85
7.2.60.0040.01116.96
7.2.50.0090.00916.94
7.2.40.0070.00716.97
7.2.30.0030.00916.77
7.2.20.0090.00416.66
7.2.10.0090.00916.97
7.2.00.0060.01018.04
7.1.330.0090.00615.86
7.1.320.0060.00315.75
7.1.310.0090.00315.66
7.1.300.0090.00315.57
7.1.290.0000.01315.61
7.1.280.0070.00715.48
7.1.270.0030.00615.66
7.1.260.0000.01115.75
7.1.250.0110.00315.75
7.1.240.0120.00015.76
7.1.230.0100.00315.56
7.1.220.0070.00415.67
7.1.210.0060.00315.70
7.1.200.0060.00915.75
7.1.190.0060.00315.78
7.1.180.0140.00015.53
7.1.170.0090.00615.69
7.1.160.0030.01015.71
7.1.150.0040.00715.59
7.1.140.0080.00415.53
7.1.130.0070.00615.82
7.1.120.0070.00715.67
7.1.110.0030.00515.57
7.1.100.0060.00816.81
7.1.90.0140.00015.86
7.1.80.0000.01315.62
7.1.70.0050.00616.40
7.1.60.0070.01317.51
7.1.50.0070.00916.15
7.1.40.0030.01015.66
7.1.30.0040.00415.36
7.1.20.0070.00715.62
7.1.10.0060.00715.66
7.1.00.0050.04218.92
7.0.330.0000.01615.57
7.0.320.0040.01015.29
7.0.310.0070.00715.15
7.0.300.0100.00315.36
7.0.290.0040.00415.32
7.0.280.0000.00915.03
7.0.270.0030.00515.40
7.0.260.0060.00915.06
7.0.250.0070.00715.51
7.0.240.0060.00615.35
7.0.230.0030.01015.35
7.0.220.0030.01015.48
7.0.210.0070.00315.45
7.0.200.0030.00516.07
7.0.190.0070.00715.53
7.0.180.0070.00715.43
7.0.170.0110.00415.40
7.0.160.0060.00615.43
7.0.150.0030.01015.01
7.0.140.0060.00615.22
7.0.130.0120.00015.16
7.0.120.0040.00715.48
7.0.110.0080.00315.42
7.0.100.0050.00315.31
7.0.90.0070.00415.26
7.0.80.0070.00715.34
7.0.70.0070.01015.13
7.0.60.0100.02317.65
7.0.50.0050.04516.55
7.0.40.0100.03516.79
7.0.30.0230.04016.64
7.0.20.0240.03916.63
7.0.10.0080.02216.74
7.0.00.0100.03716.77
5.6.400.0070.00714.00
5.6.390.0060.00913.71
5.6.380.0120.00314.48
5.6.370.0040.00414.14
5.6.360.0000.00914.11
5.6.350.0060.00314.37
5.6.340.0090.00314.21
5.6.330.0000.01014.29
5.6.320.0030.00714.39
5.6.310.0110.00314.49
5.6.300.0070.00714.21
5.6.290.0070.00313.86
5.6.280.0040.02017.69
5.6.270.0000.01114.17
5.6.260.0040.00714.04
5.6.250.0030.00613.89
5.6.240.0040.00413.94
5.6.230.0040.00414.10
5.6.220.0090.00014.44
5.6.210.0050.04217.38
5.6.200.0000.02916.10
5.6.190.0070.02517.30
5.6.180.0170.04217.36
5.6.170.0150.02217.30
5.6.160.0070.04817.21
5.6.150.0020.05016.14
5.6.140.0080.02216.05
5.6.130.0100.04316.19
5.6.120.0050.04017.79
5.6.110.0170.02717.62
5.6.100.0020.02717.51
5.6.90.0050.02117.59
5.6.80.0110.02017.21
5.6.70.0060.00614.14
5.6.60.0070.00314.05
5.6.50.0000.01614.19
5.6.40.0140.00014.18
5.6.30.0030.00714.21
5.6.20.0040.01114.25
5.6.10.0040.00414.21
5.6.00.0040.00814.11
5.5.380.0030.01013.85
5.5.370.0080.00313.85
5.5.360.0110.00313.82
5.5.350.0050.02517.15
5.5.340.0050.04515.89
5.5.330.0020.04117.09
5.5.320.0120.02917.17
5.5.310.0170.04417.04
5.5.300.0060.04115.87
5.5.290.0080.04115.91
5.5.280.0090.02217.36
5.5.270.0080.02817.36
5.5.260.0070.04017.41
5.5.250.0070.03517.12
5.5.240.0130.01917.18
5.5.230.0100.00313.76
5.5.220.0060.00613.84
5.5.210.0080.00313.78
5.5.200.0070.00714.17
5.5.190.0070.00713.74
5.5.180.0000.01213.77
5.5.170.0030.01314.02
5.5.160.0030.00714.00
5.5.150.0070.00413.89
5.5.140.0000.01713.89
5.5.130.0030.01313.87
5.5.120.0030.00914.17
5.5.110.0030.00914.04
5.5.100.0030.00614.00
5.5.90.0060.00314.15
5.5.80.0000.00813.83
5.5.70.0040.00714.24
5.5.60.0000.01513.90
5.5.50.0110.00313.60
5.5.40.0040.00913.83
5.5.30.0040.00414.12
5.5.20.0110.00313.88
5.5.10.0060.00314.04
5.5.00.0000.01213.99

preferences:
28.89 ms | 403 KiB | 5 Q