3v4l.org

run code in 300+ PHP versions simultaneously
<?php $full = hypot(36, 24); $apsc = hypot(23.7, 15.6); echo $full / $apsc;

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.60.0070.00716.50
8.3.50.0110.00721.99
8.3.40.0100.00718.52
8.3.30.0040.01418.58
8.3.20.0070.00020.20
8.3.10.0030.00523.79
8.3.00.0000.00819.38
8.2.180.0000.01416.50
8.2.170.0130.00722.96
8.2.160.0100.00320.47
8.2.150.0050.00325.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00420.07
8.2.110.0030.00620.42
8.2.100.0070.00418.05
8.2.90.0090.00019.11
8.2.80.0050.00317.97
8.2.70.0050.00317.59
8.2.60.0000.00718.05
8.2.50.0000.00818.07
8.2.40.0040.00419.41
8.2.30.0000.00820.56
8.2.20.0030.00517.64
8.2.10.0040.00418.03
8.2.00.0040.00418.23
8.1.280.0110.00425.92
8.1.270.0060.00323.96
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0070.01023.96
8.1.230.0080.00317.79
8.1.220.0000.00917.78
8.1.210.0060.00618.77
8.1.200.0090.00017.35
8.1.190.0080.00017.35
8.1.180.0030.00618.10
8.1.170.0030.00518.64
8.1.160.0000.00822.00
8.1.150.0050.00318.93
8.1.140.0030.00619.61
8.1.130.0050.00217.58
8.1.120.0000.00817.34
8.1.110.0040.00417.50
8.1.100.0000.00817.41
8.1.90.0040.00417.40
8.1.80.0040.00317.45
8.1.70.0030.00317.46
8.1.60.0040.00417.53
8.1.50.0030.00517.52
8.1.40.0040.00417.55
8.1.30.0000.00817.66
8.1.20.0020.00517.62
8.1.10.0040.00417.55
8.1.00.0000.00817.47
8.0.300.0020.00518.77
8.0.290.0080.00016.88
8.0.280.0030.00318.38
8.0.270.0040.00417.29
8.0.260.0040.00417.37
8.0.250.0040.00217.03
8.0.240.0030.00617.06
8.0.230.0100.00016.88
8.0.220.0040.00416.94
8.0.210.0040.00416.88
8.0.200.0030.00316.99
8.0.190.0030.00316.89
8.0.180.0000.00716.89
8.0.170.0070.00316.92
8.0.160.0050.00316.96
8.0.150.0000.00716.72
8.0.140.0000.00816.79
8.0.130.0040.00413.21
8.0.120.0090.00016.85
8.0.110.0040.00416.84
8.0.100.0040.00416.76
8.0.90.0000.00716.71
8.0.80.0160.00716.79
8.0.70.0070.00016.79
8.0.60.0040.00416.73
8.0.50.0070.00016.82
8.0.30.0110.00616.84
8.0.20.0110.00817.40
8.0.10.0070.00016.89
8.0.00.0130.00516.68
7.4.330.0050.00016.77
7.4.320.0030.00316.50
7.4.300.0030.00316.52
7.4.290.0040.00416.40
7.4.280.0000.00716.39
7.4.270.0000.00816.50
7.4.260.0020.00516.48
7.4.250.0040.00416.44
7.4.240.0020.00516.63
7.4.230.0070.00016.48
7.4.220.0100.01016.43
7.4.210.0040.01516.61
7.4.200.0000.00716.70
7.4.160.0090.00616.57
7.4.150.0040.01517.40
7.4.140.0120.00617.86
7.4.130.0100.00716.57
7.4.120.0060.01116.49
7.4.110.0030.01316.46
7.4.100.0110.00716.66
7.4.90.0070.01116.35
7.4.80.0050.01419.39
7.4.70.0030.01316.45
7.4.60.0030.01316.45
7.4.50.0090.00616.41
7.4.40.0070.01016.29
7.4.30.0090.01416.43
7.4.00.0020.01514.98
7.3.330.0020.00212.97
7.3.320.0070.00013.01
7.3.310.0080.00016.07
7.3.300.0060.00016.31
7.3.290.0090.01016.22
7.3.280.0050.01016.31
7.3.270.0100.00717.40
7.3.260.0070.01016.39
7.3.250.0170.00416.25
7.3.240.0120.00616.24
7.3.230.0030.01516.53
7.3.210.0100.00716.54
7.3.200.0100.00616.37
7.3.190.0120.00916.55
7.3.180.0070.01016.26
7.3.170.0080.00816.48
7.3.160.0130.00316.26
7.3.120.0070.01014.93
7.3.110.0040.00714.79
7.3.100.0080.00414.86
7.3.90.0090.00914.94
7.3.80.0030.01314.77
7.3.70.0100.00714.72
7.3.60.0060.00614.78
7.3.50.0060.00614.71
7.3.40.0070.00714.86
7.3.30.0090.00614.61
7.3.20.0110.00416.46
7.3.10.0070.01016.53
7.3.00.0060.00616.55
7.2.330.0060.01216.53
7.2.320.0130.00516.72
7.2.310.0070.01016.78
7.2.300.0070.01616.55
7.2.290.0220.00316.69
7.2.250.0070.01315.08
7.2.240.0060.01314.94
7.2.230.0100.01014.61
7.2.220.0070.00715.03
7.2.210.0120.00614.89
7.2.200.0030.01014.65
7.2.190.0060.00914.60
7.2.180.0100.00714.63
7.2.170.0070.00715.05
7.2.00.0040.00819.13
7.1.330.0120.00315.65
7.1.320.0060.00915.72
7.1.310.0040.00715.63
7.1.300.0040.00815.61
7.1.290.0070.01015.46
7.1.280.0040.00715.78
7.1.270.0100.00315.70
7.1.260.0060.00615.68
7.1.100.0000.01117.98
7.1.70.0050.00217.15
7.1.60.0070.01719.48
7.1.50.0090.01217.04
7.1.00.0000.08022.46
7.0.200.0320.00014.75
7.0.60.0100.07719.95
7.0.50.0070.08317.80
7.0.40.0070.06720.24
7.0.30.0370.07320.16
7.0.20.0300.07720.24
7.0.10.0030.07020.43
7.0.00.0100.05320.42
5.6.280.0000.03720.84
5.6.210.0200.06720.81
5.6.200.0070.06018.14
5.6.190.0170.07320.56
5.6.180.0330.07720.61
5.6.170.0200.03720.63
5.6.160.0170.08020.64
5.6.150.0130.07318.18
5.6.140.0000.04318.21
5.6.130.0130.04018.27
5.6.120.0000.08721.07
5.6.110.0030.08721.04
5.6.100.0100.07721.02
5.6.90.0030.07721.13
5.6.80.0200.06720.60
5.5.350.3900.04020.55
5.5.340.0100.08318.02
5.5.330.0070.03720.25
5.5.320.0030.07320.27
5.5.310.0200.03720.36
5.5.300.0070.05018.06
5.5.290.0030.04017.98
5.5.280.0030.08020.89
5.5.270.0030.08721.06
5.5.260.0100.07320.95
5.5.250.0100.07020.68
5.5.240.0300.02720.24

preferences:
50.77 ms | 401 KiB | 5 Q