3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number=50; $number2=10; #Information Page $First_Name= "Semen"; $Last_Name= "Kabaza"; function myTest () { global $number, $number2; $number2 = $number + $number2; } function PersonalInformation(){ global $First_Name, $Last_Name; $Combination= $First_Name + $Last_Name; } myTest(); echo $number2; PersonalInformation(); echo $Combination; ?>

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.40.0140.00718.84
8.3.30.0100.00318.84
8.3.20.0040.00420.29
8.3.10.0080.00023.66
8.3.00.0030.00719.38
8.2.170.0070.00722.96
8.2.160.0030.01022.26
8.2.150.0000.00924.18
8.2.140.0080.00024.66
8.2.130.0060.00617.63
8.2.120.0000.00926.35
8.2.110.0070.00422.26
8.2.100.0030.00717.80
8.2.90.0040.00419.27
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0060.00317.92
8.2.50.0080.00018.07
8.2.40.0000.00919.21
8.2.30.0050.00220.61
8.2.20.0030.00617.80
8.2.10.0090.00018.05
8.2.00.0080.00018.18
8.1.270.0080.00021.91
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0030.00619.14
8.1.230.0070.00417.54
8.1.220.0040.00417.76
8.1.210.0030.00618.77
8.1.200.0030.00617.22
8.1.190.0030.00617.10
8.1.180.0050.00218.10
8.1.170.0030.00618.59
8.1.160.0080.00021.90
8.1.150.0040.00418.82
8.1.140.0030.00519.43
8.1.130.0040.00417.56
8.1.120.0080.00417.41
8.1.110.0070.00017.32
8.1.100.0040.00417.46
8.1.90.0000.00717.29
8.1.80.0080.00017.29
8.1.70.0000.00717.27
8.1.60.0000.00917.59
8.1.50.0030.00517.52
8.1.40.0050.00317.42
8.1.30.0050.00317.59
8.1.20.0030.00517.66
8.1.10.0000.00817.59
8.1.00.0080.00017.44
8.0.300.0000.00818.77
8.0.290.0070.00016.75
8.0.280.0000.00818.32
8.0.270.0000.00717.13
8.0.260.0000.00617.25
8.0.250.0000.00716.98
8.0.240.0000.00717.01
8.0.230.0070.00016.83
8.0.220.0000.00716.76
8.0.210.0040.00416.79
8.0.200.0000.00717.01
8.0.190.0080.00016.88
8.0.180.0040.00416.94
8.0.170.0040.00416.82
8.0.160.0040.00416.87
8.0.150.0030.00516.73
8.0.140.0000.00716.69
8.0.130.0070.00013.34
8.0.120.0050.00316.75
8.0.110.0050.00316.90
8.0.100.0050.00216.77
8.0.90.0070.00016.73
8.0.80.0040.01116.88
8.0.70.0050.00216.78
8.0.60.0000.00816.92
8.0.50.0070.00016.70
8.0.30.0100.00817.02
8.0.20.0060.01317.40
8.0.10.0080.00017.11
8.0.00.0080.00916.60
7.4.330.0020.00215.08
7.4.320.0000.00616.42
7.4.300.0000.00616.51
7.4.290.0070.00016.51
7.4.280.0070.00016.61
7.4.270.0000.00616.45
7.4.260.0030.00316.55
7.4.250.0030.00616.51
7.4.240.0040.00416.51
7.4.230.0040.00416.39
7.4.220.0070.00816.57
7.4.210.0090.00616.55
7.4.200.0070.00016.34
7.4.160.0040.01216.46
7.4.150.0070.01017.40
7.4.140.0110.01317.86
7.4.130.0090.01116.36
7.4.120.0040.01416.45
7.4.110.0140.00416.54
7.4.100.0100.00716.46
7.4.90.0030.01316.66
7.4.80.0100.01119.39
7.4.70.0070.01116.61
7.4.60.0060.01216.43
7.4.50.0030.00616.50
7.4.40.0150.00616.57
7.4.30.0070.01016.67
7.4.00.0090.00914.81
7.3.330.0060.00013.14
7.3.320.0000.00513.28
7.3.310.0070.00016.40
7.3.300.0030.00316.23
7.3.290.0110.00716.32
7.3.280.0120.00716.34
7.3.270.0090.01117.40
7.3.260.0070.01016.33
7.3.250.0080.00816.37
7.3.240.0140.00516.52
7.3.230.0090.00916.43
7.3.210.0070.01116.29
7.3.200.0100.00716.43
7.3.190.0070.01016.59
7.3.180.0150.00016.52
7.3.170.0100.01016.39
7.3.160.0060.01016.34
7.2.330.0040.01316.66
7.2.320.0120.00816.27
7.2.310.0040.01216.69
7.2.300.0110.00616.56
7.2.290.0030.01416.67
7.2.60.0070.00716.66
7.2.00.0040.00819.00
7.1.200.0000.01615.64
7.1.100.0000.01518.08
7.1.70.0060.00616.96
7.1.60.0060.01919.48
7.1.50.0200.01334.70
7.1.00.0000.07722.54
7.0.200.0040.00416.54
7.0.60.0070.08719.84
7.0.50.0100.03317.91
7.0.40.0030.08720.09
7.0.30.0300.06720.07
7.0.20.0170.04320.10
7.0.10.0100.03720.08
7.0.00.0100.04020.37
5.6.280.0000.07021.04
5.6.210.0170.05320.53
5.6.200.0200.07018.23
5.6.190.0070.09020.77
5.6.180.0300.07320.39
5.6.170.0370.07320.56
5.6.160.0130.03720.39
5.6.150.0030.08718.14
5.6.140.0100.08318.19
5.6.130.0100.07718.14
5.6.120.0100.07021.11
5.6.110.0100.04021.15
5.6.100.0100.07721.01
5.6.90.0030.08720.98
5.6.80.0100.08020.54
5.5.350.4070.04320.38
5.5.340.0000.04017.95
5.5.330.0130.07720.40
5.5.320.0170.08320.41
5.5.310.0300.08020.30
5.5.300.0030.06017.99
5.5.290.0100.07717.94
5.5.280.0030.08720.76
5.5.270.0070.03720.95
5.5.260.0270.06320.67
5.5.250.0070.07020.59
5.5.240.0300.07020.35

preferences:
36.95 ms | 400 KiB | 5 Q