3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION['condition2']="Excellent"; $_SESSION['Price2']=30000; $difEVGa = 0.037019787; $difEVGb = 106.0487; $difVGGa = 0.051761002; $difVGGb = -63.184237910; $difGFa = 0.137099922; $difGFb = 161.241854782; if ($_SESSION['condition2'] =="Excellent") { $XCondition2= -((((((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))+((($difVGGb+($_SESSION['Price2']-(((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))))/(1-$difVGGa))-($_SESSION['Price2']-(((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))))*-1))+((($difEVGb+($_SESSION['Price2']-(((((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))+((($difVGGb+($_SESSION['Price2']-(((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))))/(1-$difVGGa))-($_SESSION['Price2']-(((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))))*-1))))/(1-$difEVGa))-($_SESSION['Price2']-(((((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))+((($difVGGb+($_SESSION['Price2']-(((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))))/(1-$difVGGa))-($_SESSION['Price2']-(((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))))*-1))))*-1); } elseif ($_SESSION['condition2'] =="Very Good") { $XCondition2= ((((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))+((($difVGGb+($_SESSION['Price2']-(((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))))/(1-$difVGGa))-($_SESSION['Price2']-(((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1))))*-1); } elseif ($_SESSION['condition2'] =="Good") { $XCondition2=((0)+((($difGFb+($_SESSION['Price2']-(0)))/(1-$difGFa))-($_SESSION['Price2']-(0)))*-1); } else { $XCondition2="0"; } echo $XCondition2; ?>

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.88
8.3.50.0320.00722.87
8.3.40.0150.00018.84
8.3.30.0070.00719.22
8.3.20.0080.00020.25
8.3.10.0050.00323.56
8.3.00.0000.00819.38
8.2.180.0080.00816.63
8.2.170.0070.01122.96
8.2.160.0110.00320.65
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00021.16
8.2.110.0030.00620.95
8.2.100.0040.00817.97
8.2.90.0080.00019.39
8.2.80.0030.00617.97
8.2.70.0000.00817.88
8.2.60.0080.00019.78
8.2.50.0000.00818.34
8.2.40.0080.00022.29
8.2.30.0060.00319.39
8.2.20.0040.00417.73
8.2.10.0000.00718.11
8.2.00.0000.00717.92
8.1.280.0120.00625.92
8.1.270.0080.00023.96
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0030.00623.92
8.1.230.0110.00017.89
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0000.00917.61
8.1.190.0000.00817.36
8.1.180.0000.00818.10
8.1.170.0000.00818.59
8.1.160.0000.00719.00
8.1.150.0000.00820.29
8.1.140.0090.00017.59
8.1.130.0070.00017.85
8.1.120.0040.00417.58
8.1.110.0070.00017.57
8.1.100.0050.00217.54
8.1.90.0040.00417.52
8.1.80.0040.00417.55
8.1.70.0070.00017.52
8.1.60.0030.00617.64
8.1.50.0040.00417.62
8.1.40.0000.00917.54
8.1.30.0000.00817.67
8.1.20.0000.00817.74
8.1.10.0040.00417.57
8.1.00.0040.00417.55
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0040.00418.55
8.0.270.0000.00717.31
8.0.260.0030.00317.38
8.0.250.0000.00716.96
8.0.240.0000.00717.03
8.0.230.0000.00816.90
8.0.220.0000.00717.00
8.0.210.0030.00317.02
8.0.200.0040.00417.02
8.0.190.0030.00617.03
8.0.180.0000.00716.89
8.0.170.0060.00316.96
8.0.160.0070.00016.95
8.0.150.0000.00816.95
8.0.140.0000.00716.95
8.0.130.0030.00513.49
8.0.120.0020.00516.88
8.0.110.0000.00816.90
8.0.100.0040.00416.96
8.0.90.0080.00017.07
8.0.80.0160.00316.92
8.0.70.0040.00416.94
8.0.60.0080.00017.07
8.0.50.0040.00416.99
8.0.30.0100.00917.07
8.0.20.0130.00817.40
8.0.10.0030.00517.13
8.0.00.0160.00616.92
7.4.330.0050.00015.00
7.4.320.0000.00616.72
7.4.300.0030.00316.72
7.4.290.0030.00316.71
7.4.280.0040.00416.66
7.4.270.0070.00016.68
7.4.260.0040.00416.65
7.4.250.0040.00416.76
7.4.240.0020.00516.58
7.4.230.0030.00316.61
7.4.220.0120.00616.57
7.4.210.0030.01116.68
7.4.200.0030.00316.73
7.4.160.0120.00316.81
7.4.150.0100.01017.40
7.4.140.0070.01217.86
7.4.130.0090.01016.55
7.4.120.0100.00616.62
7.4.110.0160.00016.50
7.4.100.0140.00616.55
7.4.90.0090.01216.74
7.4.80.0150.00619.39
7.4.70.0090.00916.42
7.4.60.0150.00916.75
7.4.50.0080.00016.73
7.4.40.0130.00316.50
7.4.30.0100.00616.46
7.4.00.0070.00715.02
7.3.330.0000.00613.29
7.3.320.0020.00213.19
7.3.310.0050.00216.44
7.3.300.0040.00416.48
7.3.290.0060.00916.48
7.3.280.0090.00616.44
7.3.270.0110.00617.40
7.3.260.0170.01016.75
7.3.250.0110.00816.40
7.3.240.0120.00616.67
7.3.230.0090.00916.75
7.3.210.0170.00016.69
7.3.200.0070.01319.39
7.3.190.0150.00316.73
7.3.180.0090.00616.67
7.3.170.0160.00316.49
7.3.160.0060.01216.40
7.2.330.0090.00916.81
7.2.320.0210.00316.74
7.2.310.0090.00916.56
7.2.300.0040.01416.66
7.2.290.0060.01616.57
7.1.100.0100.00318.24
7.1.70.0030.00517.28
7.1.60.0080.00819.40
7.1.50.0120.01216.78
7.1.00.0070.07722.54
7.0.200.0120.00616.76
7.0.140.0000.08022.12
7.0.60.0000.04720.12
7.0.50.0070.08017.90
7.0.40.0100.08720.12
7.0.30.0230.04020.18
7.0.20.0430.07320.20
7.0.10.0100.05720.16
7.0.00.0000.09320.08
5.6.280.0030.07321.08
5.6.210.0130.06720.68
5.6.200.0070.03718.11
5.6.190.0130.04320.78
5.6.180.0270.07720.77
5.6.170.0200.05020.50
5.6.160.0170.07320.48
5.6.150.0030.04018.09
5.6.140.0000.09318.14
5.6.130.0200.07018.12
5.6.120.0070.07321.13
5.6.110.0170.06721.06
5.6.100.0100.07721.10
5.6.90.0070.07721.01
5.6.80.0130.07320.44
5.5.350.0000.04020.48
5.5.340.0130.07717.98
5.5.330.0130.07320.37
5.5.320.0170.03720.30
5.5.310.0170.04020.25
5.5.300.0100.08017.89
5.5.290.0070.07018.01
5.5.280.0070.07020.65
5.5.270.0030.05020.80
5.5.260.0100.05720.97
5.5.250.0130.07320.66
5.5.240.0300.07020.20
5.4.450.0330.04019.11
5.4.440.0470.05019.41
5.4.430.0100.04319.11
5.4.420.0400.04719.56
5.4.410.0270.03719.45
5.4.400.0570.04319.09
5.4.390.0400.04719.10
5.4.380.0830.07318.60
5.4.370.0730.05718.63
5.4.360.0500.05018.69
5.4.350.0900.06718.68
5.4.340.0900.05018.70
5.4.320.0080.03612.48
5.4.310.0060.04012.47
5.4.300.0030.04012.48
5.4.290.0050.03712.47
5.4.280.0060.03412.37
5.4.270.0050.03612.38
5.4.260.0060.03712.37
5.4.250.0060.03612.37
5.4.240.0080.03312.38
5.4.230.0050.03712.37
5.4.220.0050.03512.36
5.4.210.0060.03412.37
5.4.200.0040.03812.36
5.4.190.0040.04712.36
5.4.180.0050.03512.36
5.4.170.0100.03312.37
5.4.160.0070.04012.37
5.4.150.0020.03912.36
5.4.140.0020.04012.05
5.4.130.0060.03512.04
5.4.120.0050.03612.00
5.4.110.0080.03211.99
5.4.100.0050.03611.99
5.4.90.0060.03811.99
5.4.80.0100.03311.99
5.4.70.0070.03311.99
5.4.60.0030.03611.98
5.4.50.0070.03311.98
5.4.40.0070.03211.97
5.4.30.0050.03511.98
5.4.20.0090.03211.98
5.4.10.0060.03211.97
5.4.00.0060.03511.46
5.3.290.0060.04112.80
5.3.280.0080.03512.71
5.3.270.0060.04512.72
5.3.260.0090.03812.72
5.3.250.0040.04012.72
5.3.240.0120.03412.72
5.3.230.0090.03712.71
5.3.220.0040.04112.68
5.3.210.0090.03612.68
5.3.200.0050.03712.68
5.3.190.0080.03612.67
5.3.180.0080.03512.68
5.3.170.0080.03812.67
5.3.160.0090.03412.67
5.3.150.0080.04312.67
5.3.140.0090.03312.66
5.3.130.0080.04412.66
5.3.120.0090.04312.65
5.3.110.0060.04212.66
5.3.100.0040.03812.12
5.3.90.0040.03812.09
5.3.80.0090.03312.08
5.3.70.0060.03512.09
5.3.60.0060.03612.07
5.3.50.0060.03612.02
5.3.40.0040.03712.02
5.3.30.0070.03311.98
5.3.20.0070.03411.75
5.3.10.0080.03911.72
5.3.00.0080.03511.71
5.2.170.0040.0319.22
5.2.160.0030.0319.22
5.2.150.0050.0299.22
5.2.140.0040.0319.22
5.2.130.0040.0339.18
5.2.120.0050.0289.18
5.2.110.0030.0309.19
5.2.100.0040.0289.18
5.2.90.0040.0329.18
5.2.80.0070.0279.17
5.2.70.0090.0319.17
5.2.60.0090.0269.13
5.2.50.0040.0309.10
5.2.40.0040.0339.07
5.2.30.0100.0289.05
5.2.20.0040.0379.04
5.2.10.0050.0318.99
5.2.00.0030.0298.85
5.1.60.0050.0228.14
5.1.50.0050.0308.14
5.1.40.0030.0308.12
5.1.30.0020.0278.46
5.1.20.0090.0298.48
5.1.10.0040.0308.21
5.1.00.0030.0268.22
5.0.50.0030.0206.70
5.0.40.0060.0166.56
5.0.30.0030.0306.38
5.0.20.0030.0196.36
5.0.10.0050.0186.33
5.0.00.0040.0306.32
4.4.90.0020.0164.78
4.4.80.0040.0134.76
4.4.70.0030.0164.75
4.4.60.0030.0144.75
4.4.50.0020.0204.77
4.4.40.0030.0274.71
4.4.30.0030.0154.76
4.4.20.0040.0154.84
4.4.10.0030.0154.85
4.4.00.0030.0234.76
4.3.110.0020.0164.67
4.3.100.0020.0154.66
4.3.90.0010.0164.63
4.3.80.0050.0214.63
4.3.70.0010.0154.63
4.3.60.0020.0154.63
4.3.50.0030.0154.63
4.3.40.0040.0224.58
4.3.30.0020.0163.39
4.3.20.0020.0163.36
4.3.10.0020.0153.32
4.3.00.0170.01315.98

preferences:
44.08 ms | 401 KiB | 5 Q