3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bcmod(3.5, 4)."\n"; echo fmod(3.5, 4);

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.00418.50
8.3.120.0080.00418.84
8.3.110.0040.00420.94
8.3.100.0080.00024.06
8.3.90.0150.00026.77
8.3.80.0000.01019.36
8.3.70.0090.00618.55
8.3.60.0090.00618.08
8.3.50.0120.00722.03
8.3.40.0120.00318.71
8.3.30.0040.01518.76
8.3.20.0030.00518.65
8.3.10.0000.00821.05
8.3.00.0050.00321.85
8.2.250.0030.00516.48
8.2.240.0050.00318.79
8.2.230.0090.00022.58
8.2.220.0030.00637.54
8.2.210.0120.00426.77
8.2.200.0040.00718.88
8.2.190.0090.00616.63
8.2.180.0100.01016.48
8.2.170.0190.00022.96
8.2.160.0040.01118.79
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00720.88
8.2.110.0070.00322.30
8.2.100.0040.00717.72
8.2.90.0000.00820.36
8.2.80.0000.00817.97
8.2.70.0000.00817.80
8.2.60.0090.00018.03
8.2.50.0050.00318.07
8.2.40.0030.00618.34
8.2.30.0040.00419.36
8.2.20.0060.00317.68
8.2.10.0000.00817.47
8.2.00.0000.00717.54
8.1.300.0050.00320.20
8.1.290.0080.00330.84
8.1.280.0070.00725.92
8.1.270.0000.00723.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00320.69
8.1.230.0090.00321.03
8.1.220.0080.00017.79
8.1.210.0050.00318.85
8.1.200.0000.00817.22
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0000.00818.62
8.1.160.0040.00418.88
8.1.150.0040.00418.52
8.1.140.0040.00417.39
8.1.130.0030.00317.38
8.1.120.0040.00417.49
8.1.110.0070.00017.42
8.1.100.0060.00317.44
8.1.90.0050.00217.52
8.1.80.0000.00717.41
8.1.70.0030.00317.44
8.1.60.0040.00417.52
8.1.50.0070.00017.50
8.1.40.0060.00317.40
8.1.30.0000.00817.54
8.1.20.0030.00517.66
8.1.10.0000.00717.44
8.1.00.0000.00717.28
8.0.300.0070.00019.86
8.0.290.0050.00316.58
8.0.280.0070.00018.32
8.0.270.0000.00816.84
8.0.260.0030.00316.68
8.0.250.0040.00416.84
8.0.240.0000.00916.82
8.0.230.0000.00816.93
8.0.220.0030.00316.93
8.0.210.0030.00616.93
8.0.200.0080.00016.86
8.0.190.0070.00016.90
8.0.180.0000.01116.81
8.0.170.0000.00816.92
8.0.160.0070.00016.86
8.0.150.0030.00516.87
8.0.140.0000.00816.85
8.0.130.0050.00213.19
8.0.120.0040.00416.84
8.0.110.0000.00816.76
8.0.100.0030.00516.76
8.0.90.0070.00016.81
8.0.80.0040.01316.77
8.0.70.0040.00416.87
8.0.60.0000.00716.78
8.0.50.0030.00516.88
8.0.30.0150.00617.13
8.0.20.0100.00917.40
8.0.10.0000.00716.98
8.0.00.0110.00916.71
7.4.330.0050.00014.61
7.4.320.0040.00416.52
7.4.300.0020.00516.42
7.4.290.0000.00716.43
7.4.280.0070.00016.49
7.4.270.0060.00016.54
7.4.260.0030.00313.20
7.4.250.0080.00016.40
7.4.240.0000.00716.57
7.4.230.0000.00716.43
7.4.220.0090.00916.48
7.4.210.0080.00616.48
7.4.200.0030.00316.52
7.4.190.0030.00316.36
7.4.160.0120.00316.40
7.4.150.0120.00617.40
7.4.140.0120.00917.86
7.4.130.0120.00616.36
7.4.120.0160.00516.40
7.4.110.0080.01116.28
7.4.100.0170.00316.34
7.4.90.0100.01116.35
7.4.80.0140.00817.68
7.4.70.0090.01116.25
7.4.60.0130.00816.46
7.4.50.0080.00816.48
7.4.40.0090.01119.49
7.4.30.0060.01416.51
7.4.20.0090.01316.53
7.4.10.0070.01416.45
7.4.00.0080.01015.74
7.3.330.0050.00013.14
7.3.320.0000.00513.16
7.3.310.0090.00016.23
7.3.300.0030.00316.20
7.3.290.0030.01016.16
7.3.280.0030.01216.23
7.3.270.0140.00317.40
7.3.260.0140.00518.24
7.3.250.0150.00916.26
7.3.240.0130.00916.48
7.3.230.0130.00816.30
7.3.220.0170.00516.17
7.3.210.0130.01016.34
7.3.200.0070.01117.71
7.3.190.0130.00616.14
7.3.180.0080.01316.19
7.3.170.0120.01216.50
7.3.160.0140.00616.32
7.3.150.0150.00616.36
7.3.140.0150.00616.47
7.3.130.0120.01016.44
7.3.120.0090.00815.61
7.3.110.0150.00616.56
7.3.100.0060.01616.52
7.3.90.0100.01416.62
7.3.80.0210.00016.54
7.3.70.0090.01016.06
7.3.60.0170.00716.23
7.3.50.0090.00916.17
7.3.40.0150.01016.16
7.3.30.0090.01216.29
7.3.20.0100.01018.26
7.3.10.0090.01318.16
7.3.00.0120.00918.23
7.2.340.0270.01516.55
7.2.330.0110.01116.52
7.2.320.0140.00716.64
7.2.310.0100.00916.51
7.2.300.0110.01016.61
7.2.290.0060.01516.57
7.2.280.0110.01416.70
7.2.270.0030.01616.73
7.2.260.0230.01516.39
7.2.250.0350.00416.46
7.2.240.0310.00816.75
7.2.230.0340.00316.65
7.2.220.0160.02316.26
7.2.210.0280.00916.21
7.2.200.0230.01116.33
7.2.190.0290.01116.55
7.2.180.0340.00616.41
7.2.170.0290.01416.48
7.2.160.0300.00616.44
7.2.150.0500.01318.41
7.2.140.0240.01418.21
7.2.130.0280.01218.32
7.2.120.0300.00818.35
7.2.110.0290.01018.37
7.2.100.0320.01018.23
7.2.90.0290.01518.23
7.2.80.0340.00718.48
7.2.70.0300.01018.29
7.2.60.0150.01017.69
7.2.50.0260.01218.48
7.2.40.0240.01118.42
7.2.30.0300.00718.48
7.2.20.0240.01218.31
7.2.10.0340.00318.16
7.2.00.0140.01118.74
7.1.330.0180.01517.35
7.1.320.0240.01217.29
7.1.310.0210.01217.32
7.1.300.0220.01517.40
7.1.290.0260.01217.34
7.1.280.0270.00717.35
7.1.270.0260.01017.51
7.1.260.0230.01217.14
7.1.250.0260.00717.20
7.1.240.0290.00317.50
7.1.230.0160.01917.38
7.1.220.0260.01017.25
7.1.210.0230.01317.47
7.1.200.0150.00816.48
7.1.190.0250.00717.22
7.1.180.0310.00417.29
7.1.170.0240.00817.33
7.1.160.0310.00617.21
7.1.150.0260.00817.43
7.1.140.0280.00717.17
7.1.130.0170.02117.19
7.1.120.0190.01217.36
7.1.110.0210.01017.34
7.1.100.0110.01217.57
7.1.90.0220.00817.40
7.1.80.0260.00917.30
7.1.70.0070.00917.28
7.1.60.0130.00518.38
7.1.50.0120.01017.09
7.1.40.0130.01217.27
7.1.30.0120.00617.39
7.1.20.0040.01417.40
7.1.10.0160.01017.24
7.1.00.0100.02319.92
7.0.330.0200.01716.92
7.0.320.0240.00717.19
7.0.310.0290.00317.18
7.0.300.0190.01516.93
7.0.290.0230.01217.09
7.0.280.0260.00317.02
7.0.270.0290.00616.98
7.0.260.0260.00517.14
7.0.250.0210.01016.97
7.0.240.0180.01117.19
7.0.230.0230.00716.86
7.0.220.0210.00816.97
7.0.210.0070.01017.07
7.0.200.0050.01116.82
7.0.190.0070.01116.94
7.0.180.0100.00717.09
7.0.170.0130.00617.03
7.0.160.0160.00317.17
7.0.150.0140.00317.00
7.0.140.0180.03319.51
7.0.130.0180.00017.04
7.0.120.0090.01216.96
7.0.110.0380.00417.02
7.0.100.0230.01316.89
7.0.90.0210.01117.01
7.0.80.0280.00617.12
7.0.70.0190.01316.85
7.0.60.0100.03518.47
7.0.50.0150.03017.33
7.0.40.0160.04318.59
7.0.30.0180.03018.61
7.0.20.0270.04318.50
7.0.10.0180.04518.53
7.0.00.0210.04218.56
5.6.400.0210.01816.07
5.6.390.0270.00715.93
5.6.380.0250.00915.88
5.6.370.0190.01516.02
5.6.360.0280.01115.90
5.6.350.0250.01115.69
5.6.340.0210.01216.05
5.6.330.0220.00915.92
5.6.320.0270.00615.95
5.6.310.0060.01216.01
5.6.300.0160.01315.98
5.6.290.0120.00915.61
5.6.280.0100.03818.34
5.6.270.0270.01215.79
5.6.260.0260.01315.87
5.6.250.0210.01815.86
5.6.240.0280.00315.80
5.6.230.0320.00415.83
5.6.220.0160.01615.73
5.6.210.0110.04818.19
5.6.200.0190.03917.06
5.6.190.0140.02918.13
5.6.180.0350.04718.17
5.6.170.0260.04218.12
5.6.160.0190.02218.18
5.6.150.0150.02417.06
5.6.140.0220.03417.01
5.6.130.0100.03617.00
5.6.120.0260.04018.48
5.6.110.0160.04918.39
5.6.100.0170.04718.36
5.6.90.0150.03918.50
5.6.80.0140.04318.10
5.6.70.0240.00915.98
5.6.60.0280.00515.83
5.6.50.0170.01715.76
5.6.40.0220.01015.69
5.6.30.0220.01015.74
5.6.20.0210.01415.75
5.6.10.0200.00915.70
5.6.00.0260.00715.77
5.5.380.0250.00816.13
5.5.370.0250.01015.63
5.5.360.0140.02015.90
5.5.350.2230.02518.19
5.5.340.0160.03916.83
5.5.330.0180.02518.04
5.5.320.0090.03918.26
5.5.310.0290.02218.08
5.5.300.0100.03217.00
5.5.290.0150.04716.80
5.5.280.0160.02818.57
5.5.270.0120.05018.33
5.5.260.0160.02318.32
5.5.250.0110.03618.35
5.5.240.0190.02618.02
5.5.230.0200.01715.87
5.5.220.0170.01415.61
5.5.210.0200.01215.78
5.5.200.0080.02515.81
5.5.190.0090.02315.89
5.5.180.0150.02215.72
5.5.170.0150.01515.79
5.5.160.0140.01915.70
5.5.150.0250.00615.85
5.5.140.0200.01715.84
5.5.130.0110.02315.72
5.5.120.0280.01015.68
5.5.110.0230.01115.49
5.5.100.0180.01515.73
5.5.90.0250.00615.71
5.5.80.0140.01815.46
5.5.70.0260.01015.80
5.5.60.0240.01215.59
5.5.50.0200.01215.67
5.5.40.0210.01415.63
5.5.30.0180.01815.71
5.5.20.0210.00715.82
5.5.10.0240.01215.76
5.5.00.0180.01315.64
5.4.450.0210.02815.87
5.4.440.0220.02315.83
5.4.430.0200.04215.90
5.4.420.0220.03215.82
5.4.410.0230.03915.77
5.4.400.0270.03115.57
5.4.390.0270.01915.67
5.4.380.0230.02215.62
5.4.370.0250.03915.74
5.4.360.0280.03815.66
5.4.350.0240.02815.71
5.4.340.0250.03015.71
5.4.330.0170.00512.23
5.4.320.0260.03615.81
5.4.310.0190.03515.66
5.4.300.0250.03815.71
5.4.290.0200.03715.85
5.4.280.0260.03115.76
5.4.270.0250.03515.76
5.4.260.0250.03715.83
5.4.250.0250.03315.82
5.4.240.0230.02515.69
5.4.230.0180.02415.79
5.4.220.0230.03215.66
5.4.210.0300.03015.70
5.4.200.0200.02515.50
5.4.190.0250.02715.69
5.4.180.0240.03315.63
5.4.170.0280.04815.51
5.4.160.0220.03315.73
5.4.150.0200.02615.92
5.4.140.0220.02514.39
5.4.130.0190.02714.39
5.4.120.0240.02014.41
5.4.110.0280.02214.39
5.4.100.0210.04114.30
5.4.90.0250.03714.22
5.4.80.0200.02214.47
5.4.70.0210.01914.28
5.4.60.0250.03514.19
5.4.50.0200.04014.44
5.4.40.0200.02714.41
5.4.30.0210.03914.38
5.4.20.0230.04114.18
5.4.10.0240.03914.42
5.4.00.0210.03913.98
5.3.290.0180.03013.89
5.3.280.0230.03913.71
5.3.270.0260.03613.71
5.3.260.0230.01913.64
5.3.250.0180.02913.75
5.3.240.0250.03313.69
5.3.230.0250.02213.60
5.3.220.0270.03413.57
5.3.210.0200.04013.59
5.3.200.0200.03713.64
5.3.190.0240.03613.61
5.3.180.0220.02613.74
5.3.170.0210.02113.69
5.3.160.0210.03613.70
5.3.150.0200.02513.75
5.3.140.0290.03813.73
5.3.130.0160.03613.80
5.3.120.0210.02913.68
5.3.110.0220.02713.62
5.3.100.0200.04113.46
5.3.90.0250.03513.36
5.3.80.0230.03913.43
5.3.70.0250.04013.46
5.3.60.0220.03213.43
5.3.50.0200.04413.42
5.3.40.0200.02913.27
5.3.30.0290.02313.42
5.3.20.0180.02613.32
5.3.10.0190.03413.13
5.3.00.0240.02213.14

preferences:
30.49 ms | 403 KiB | 5 Q