3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = (float)(44.28); $multiple = (float)(0.36); $calc = $count / $multiple; //$calc = 44.28 / 0.36 = 123 //$calc = number_format($calc, 2, '.', ''); if(preg_match('/~^[0-9]+$/', $calc)) die("is integer"); else die("is not integer");

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.70.0130.00316.50
8.3.60.0040.01118.43
8.3.50.0180.00322.11
8.3.40.0160.00619.04
8.3.30.0080.00818.88
8.3.20.0080.00020.34
8.3.10.0080.00022.00
8.3.00.0080.00022.58
8.2.180.0070.01416.88
8.2.170.0070.01322.96
8.2.160.0030.01419.21
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.01426.16
8.2.120.0000.00919.73
8.2.110.0030.00620.96
8.2.100.0120.00017.91
8.2.90.0080.00018.92
8.2.80.0080.00017.97
8.2.70.0000.01017.73
8.2.60.0040.00418.04
8.2.50.0060.00318.07
8.2.40.0030.00619.84
8.2.30.0070.00017.95
8.2.20.0000.00817.93
8.2.10.0080.00017.88
8.2.00.0000.00817.94
8.1.280.0180.00325.92
8.1.270.0040.00422.18
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00522.19
8.1.230.0070.00319.06
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0080.00017.40
8.1.180.0040.00418.75
8.1.170.0040.00418.64
8.1.160.0080.00022.14
8.1.150.0040.00418.64
8.1.140.0040.00417.43
8.1.130.0070.00017.74
8.1.120.0000.00717.54
8.1.110.0050.00317.54
8.1.100.0000.00817.43
8.1.90.0000.00717.45
8.1.80.0040.00417.49
8.1.70.0070.00017.50
8.1.60.0000.00817.55
8.1.50.0040.00417.68
8.1.40.0050.00317.54
8.1.30.0040.00417.66
8.1.20.0030.00517.68
8.1.10.0040.00417.63
8.1.00.0050.00317.43
8.0.300.0040.00418.77
8.0.290.0050.00516.88
8.0.280.0000.00718.44
8.0.270.0000.00817.25
8.0.260.0030.00316.91
8.0.250.0050.00317.14
8.0.240.0040.00417.19
8.0.230.0070.00017.04
8.0.220.0060.00017.07
8.0.210.0040.00417.10
8.0.200.0060.00017.18
8.0.190.0000.00817.19
8.0.180.0050.00217.11
8.0.170.0000.00817.02
8.0.160.0040.00416.94
8.0.150.0000.00816.95
8.0.140.0030.00616.98
8.0.130.0000.00713.47
8.0.120.0000.00816.97
8.0.110.0040.00417.03
8.0.100.0000.00716.96
8.0.90.0040.00417.00
8.0.80.0000.01516.93
8.0.70.0040.00417.13
8.0.60.0030.00516.84
8.0.50.0000.00816.87
8.0.30.0130.00917.23
8.0.20.0100.00817.46
8.0.10.0040.00416.99
8.0.00.0110.00716.88
7.4.330.0030.00315.00
7.4.320.0060.00016.61
7.4.300.0030.00316.58
7.4.290.0070.00016.66
7.4.280.0040.00416.71
7.4.270.0000.00716.66
7.4.260.0000.00716.61
7.4.250.0030.00516.70
7.4.240.0010.00616.58
7.4.230.0000.00716.61
7.4.220.0100.00716.69
7.4.210.0050.00916.65
7.4.200.0000.00716.45
7.4.190.0030.00316.50
7.4.160.0100.00616.58
7.4.150.0070.01317.40
7.4.140.0100.00917.86
7.4.130.0100.00916.66
7.4.120.0070.01016.73
7.4.110.0060.01216.50
7.4.100.0070.01116.54
7.4.90.0100.01016.52
7.4.80.0070.01519.39
7.4.70.0100.00716.66
7.4.60.0060.01416.58
7.4.50.0000.00916.30
7.4.40.0050.00722.77
7.4.30.0060.00916.59
7.4.00.0000.01514.80
7.3.330.0030.00313.20
7.3.320.0030.00313.41
7.3.310.0030.00316.23
7.3.300.0030.00316.44
7.3.290.0070.00716.39
7.3.280.0090.00916.41
7.3.270.0140.00317.40
7.3.260.0100.01316.32
7.3.250.0110.00916.41
7.3.240.0060.01016.64
7.3.230.0030.01316.63
7.3.210.0090.00916.73
7.3.200.0140.00319.39
7.3.190.0120.00616.60
7.3.180.0150.00016.49
7.3.170.0150.00316.45
7.3.160.0000.01516.63
7.3.120.0090.00914.79
7.3.10.0080.00416.96
7.3.00.0180.00416.06
7.2.330.0120.00616.64
7.2.320.0100.00716.53
7.2.310.0000.01816.66
7.2.300.0100.00716.62
7.2.290.0060.01216.58
7.2.130.0530.00516.35
7.2.120.0110.00916.38
7.2.110.0160.00916.26
7.2.100.0150.00816.15
7.2.90.0140.00816.47
7.2.80.0130.00916.43
7.2.70.0140.00916.47
7.2.60.0120.00616.46
7.2.50.0160.00916.39
7.2.40.0150.00816.43
7.2.30.0140.00816.44
7.2.20.0150.00516.50
7.2.10.0170.00716.50
7.2.00.0150.00717.07
7.1.250.0200.00615.24
7.1.240.0200.01015.26
7.1.230.0200.00915.24
7.1.220.0180.00915.29
7.1.210.0330.00215.22
7.1.200.0160.00615.39
7.1.190.0180.00415.15
7.1.180.0150.01015.30
7.1.170.0200.00815.17
7.1.160.0180.00715.21
7.1.150.0210.00915.37
7.1.140.0230.00915.23
7.1.130.0220.00515.19
7.1.120.0230.00815.36
7.1.110.0150.01215.37
7.1.100.0240.00715.35
7.1.90.0150.00715.26
7.1.80.0180.00715.34
7.1.70.0090.00915.75
7.1.60.0120.00915.92
7.1.50.0200.00615.71
7.1.40.0140.00515.36
7.1.30.0220.00415.31
7.1.20.0150.00615.21
7.1.10.0140.00915.24
7.1.00.0150.02217.05
7.0.330.0200.00914.57
7.0.320.0300.00414.96
7.0.310.0200.00714.76
7.0.300.0130.00914.95
7.0.290.0190.00714.86
7.0.280.0200.00814.75
7.0.270.0160.00814.84
7.0.260.0130.01114.83
7.0.250.0280.00614.78
7.0.240.0170.00614.87
7.0.230.0220.00514.93
7.0.220.0120.01214.81
7.0.210.0180.00514.94
7.0.200.0110.01115.44
7.0.190.0170.00615.00
7.0.180.0150.00514.95
7.0.170.0190.00714.93
7.0.160.0110.00814.92
7.0.150.0190.00414.90
7.0.140.0160.01816.68
7.0.130.0250.00114.92
7.0.120.0150.00614.89
7.0.110.0120.00715.02
7.0.100.0110.00914.95
7.0.90.0210.00514.97
7.0.80.0130.00915.05
7.0.70.0140.00714.97
7.0.60.0100.03016.13
7.0.50.0120.02515.74
7.0.40.0150.01915.26
7.0.30.0170.01415.29
7.0.20.0220.02115.16
7.0.10.0150.01915.20
7.0.00.0230.01115.24
5.6.380.0100.00514.38
5.6.370.0090.00714.41
5.6.360.0110.00614.35
5.6.350.0110.00614.38
5.6.340.0090.00814.41
5.6.330.0100.00614.42
5.6.320.0060.00914.36
5.6.310.0120.00414.29
5.6.300.0080.00914.51
5.6.290.0100.00614.42
5.6.280.0100.02216.03
5.6.270.0070.00814.43
5.6.260.0050.01014.49
5.6.250.0110.00414.44
5.6.240.0060.00914.34
5.6.230.0080.00614.46
5.6.220.0060.01114.43
5.6.210.0080.02615.96
5.6.200.0060.01915.44
5.6.190.0090.01415.94
5.6.180.0130.02415.93
5.6.170.0180.02116.00
5.6.160.0090.02215.98
5.6.150.0040.02015.31
5.6.140.0070.01715.28
5.6.130.0080.02715.38
5.6.120.0050.02216.01
5.6.110.0080.02115.99
5.6.100.0090.02616.04
5.6.90.0060.02615.97
5.6.80.0050.01815.85
5.6.70.1020.01615.77
5.6.60.0100.00414.31
5.6.50.0070.00914.29
5.6.40.0070.00614.23
5.6.30.0100.00714.32
5.6.20.0110.00714.31
5.6.10.0050.00714.21
5.6.00.0080.00814.20
5.5.380.0070.00511.19
5.5.370.0050.00611.13
5.5.360.0070.00411.13
5.5.350.0060.02513.37
5.5.340.0060.01312.93
5.5.330.0060.01513.46
5.5.320.0120.01813.49
5.5.310.0090.02513.38
5.5.300.0070.01712.94
5.5.290.0050.02412.86
5.5.280.0070.02613.53
5.5.270.0080.01713.52
5.5.260.0090.02313.62
5.5.250.0060.01613.48
5.5.240.0050.02413.41
5.5.230.0060.00411.06
5.5.220.0080.00411.18
5.5.210.0050.00611.09
5.5.200.0040.00811.13
5.5.190.0070.00611.12
5.5.180.0060.00711.02
5.5.170.0070.00612.18
5.5.160.0040.00711.17
5.5.150.0070.00611.10
5.5.140.0060.00611.15
5.5.130.0040.00811.18
5.5.120.0070.00611.10
5.5.110.0060.00311.15
5.5.100.0080.00711.05
5.5.90.0080.00411.06
5.5.80.0080.00511.13
5.5.70.0050.00611.06
5.5.60.0090.00311.12
5.5.50.0080.00311.12
5.5.40.0060.00711.17
5.5.30.0080.00611.01
5.5.20.0050.00611.09
5.5.10.0090.00311.10
5.5.00.0080.00311.10
5.4.450.0200.01913.09
5.4.440.0200.02213.17
5.4.430.0130.01713.10
5.4.420.0180.01613.24
5.4.410.0160.01613.02
5.4.400.0260.00613.00
5.4.390.0290.00512.96
5.4.380.0110.01813.02
5.4.370.0110.02013.00
5.4.360.0110.01812.94
5.4.350.0190.01212.95
5.4.340.0090.02212.85
5.4.330.0050.00811.05
5.4.320.0070.01311.43
5.4.310.0060.01711.41
5.4.300.0040.01511.46
5.4.290.0060.01411.43
5.4.280.0070.01311.37
5.4.270.0050.01411.44
5.4.260.0050.01713.04
5.4.250.0080.01512.95
5.4.240.0080.01613.02
5.4.230.0080.01613.04
5.4.220.0060.01712.93
5.4.210.0100.01512.99
5.4.200.0060.01712.97
5.4.190.0050.01913.04
5.4.180.0040.02212.96
5.4.170.0060.01712.98
5.4.160.0070.01612.97
5.4.150.0090.01412.92
5.4.140.0070.01512.42
5.4.130.0040.02012.41
5.4.120.0090.01212.38
5.4.110.0070.01612.42
5.4.100.0070.01912.38
5.4.90.0070.01512.44
5.4.80.0070.01412.43
5.4.70.0090.01912.44
5.4.60.0050.01812.37
5.4.50.0060.01612.38
5.4.40.0070.01512.39
5.4.30.0050.01912.43
5.4.20.0060.02212.34
5.4.10.0090.01312.35
5.4.00.0060.01612.26
5.3.290.0080.01311.39
5.3.280.0070.01611.79
5.3.270.0050.01911.75
5.3.260.0080.01511.73
5.3.250.0050.01711.84
5.3.240.0050.01511.76
5.3.230.0070.01511.76
5.3.220.0100.01611.79
5.3.210.0070.01411.77
5.3.200.0070.01611.68
5.3.190.0050.02011.81
5.3.180.0050.01511.73
5.3.170.0070.01411.85
5.3.160.0060.01611.73
5.3.150.0070.01611.80
5.3.140.0060.01411.77
5.3.130.0090.01411.79
5.3.120.0040.01711.83
5.3.110.0040.02411.77
5.3.100.0080.01811.58
5.3.90.0080.01511.65
5.3.80.0070.02111.62
5.3.70.0050.01711.55
5.3.60.0050.01711.65
5.3.50.0040.01811.59
5.3.40.0080.01511.59
5.3.30.0070.01811.68
5.3.20.0030.01711.54
5.3.10.0080.01411.46
5.3.00.0080.01511.42
5.2.170.0030.01510.69
5.2.160.0060.01310.72
5.2.150.0030.01510.71
5.2.140.0050.01310.74
5.2.130.0050.01210.64
5.2.120.0040.01410.71
5.2.110.0050.01510.64
5.2.100.0060.01210.64
5.2.90.0030.01410.66
5.2.80.0050.01710.70
5.2.70.0070.01110.64
5.2.60.0040.01510.62
5.2.50.0070.01210.67
5.2.40.0060.01210.57
5.2.30.0030.01610.57
5.2.20.0050.01210.59
5.2.10.0050.01410.52
5.2.00.0100.01410.59
5.1.60.0050.01010.31
5.1.50.0030.01210.32
5.1.40.0020.01410.30
5.1.30.0050.01110.38
5.1.20.0050.01210.41
5.1.10.0030.01210.31
5.1.00.0070.00810.36
5.0.50.0040.0099.94
5.0.40.0030.0109.92
5.0.30.0050.0129.89
5.0.20.0010.0149.87
5.0.10.0050.0109.86
5.0.00.0040.0139.86
4.4.90.0010.0089.27
4.4.80.0050.0079.27
4.4.70.0050.0069.27
4.4.60.0050.0069.27
4.4.50.0030.0089.28
4.4.40.0040.0129.30
4.4.30.0030.0089.27
4.4.20.0040.0079.27
4.4.10.0060.0059.28
4.4.00.0040.0109.27
4.3.110.0030.0089.24
4.3.100.0030.0079.26
4.3.90.0050.0049.24
4.3.80.0020.0119.24
4.3.70.0030.0089.24
4.3.60.0030.0089.24
4.3.50.0010.0119.22
4.3.40.0010.0129.23
4.3.30.0030.0089.14
4.3.20.0020.0089.14
4.3.10.0020.0079.14
4.3.00.0020.0099.70

preferences:
49.33 ms | 401 KiB | 5 Q