3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION['condition2']="Excellent"; $_SESSION['Price2']=20000; $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.40.0090.00618.78
8.3.30.0110.00419.05
8.3.20.0080.00020.21
8.3.10.0040.00423.48
8.3.00.0080.00019.13
8.2.170.0070.00722.96
8.2.160.0070.00720.47
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00421.04
8.2.110.0030.00720.81
8.2.100.0070.00617.78
8.2.90.0000.00819.53
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0000.00819.56
8.2.50.0080.00018.34
8.2.40.0040.00420.58
8.2.30.0040.00419.30
8.2.20.0070.00017.91
8.2.10.0040.00418.14
8.2.00.0040.00417.76
8.1.270.0050.00323.79
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.78
8.1.230.0040.00818.01
8.1.220.0060.00317.79
8.1.210.0040.00418.77
8.1.200.0060.00317.36
8.1.190.0040.00417.48
8.1.180.0040.00418.10
8.1.170.0040.00418.85
8.1.160.0000.00718.97
8.1.150.0000.00720.20
8.1.140.0000.01117.61
8.1.130.0030.00317.86
8.1.120.0000.00717.64
8.1.110.0070.00017.57
8.1.100.0000.00717.56
8.1.90.0040.00717.50
8.1.80.0000.00717.41
8.1.70.0030.00317.59
8.1.60.0030.00617.62
8.1.50.0060.00317.59
8.1.40.0000.00817.49
8.1.30.0040.00417.76
8.1.20.0040.00417.73
8.1.10.0060.00317.67
8.1.00.0000.00817.52
8.0.300.0020.00518.77
8.0.290.0060.00316.75
8.0.280.0030.00318.51
8.0.270.0000.00817.24
8.0.260.0030.00317.27
8.0.250.0080.00017.09
8.0.240.0070.00017.12
8.0.230.0000.00716.95
8.0.220.0000.00717.02
8.0.210.0030.00317.02
8.0.200.0000.00717.06
8.0.190.0050.00316.97
8.0.180.0070.00016.88
8.0.170.0000.00716.87
8.0.160.0050.00317.02
8.0.150.0040.00416.96
8.0.140.0050.00216.84
8.0.130.0030.00613.47
8.0.120.0000.00817.01
8.0.110.0040.00416.91
8.0.100.0000.00716.89
8.0.90.0050.00216.95
8.0.80.0090.01317.04
8.0.70.0030.00716.99
8.0.60.0080.00016.95
8.0.50.0050.00217.06
8.0.30.0100.01017.14
8.0.20.0150.00517.42
8.0.10.0080.00017.01
8.0.00.0070.01416.85
7.4.330.0000.00515.15
7.4.320.0030.00316.61
7.4.300.0030.00516.72
7.4.290.0030.00316.57
7.4.280.0040.00416.55
7.4.270.0000.00716.62
7.4.260.0030.00316.74
7.4.250.0050.00316.71
7.4.240.0040.00416.62
7.4.230.0030.00316.45
7.4.220.0130.01016.55
7.4.210.0030.01016.66
7.4.200.0070.00016.71
7.4.160.0060.00916.68
7.4.150.0110.01517.40
7.4.140.0080.01017.86
7.4.130.0100.00916.62
7.4.120.0080.00916.51
7.4.110.0140.00316.65
7.4.100.0090.00916.54
7.4.90.0150.00316.71
7.4.80.0070.01719.39
7.4.70.0100.00716.54
7.4.60.0080.00916.57
7.4.50.0040.00416.73
7.4.40.0100.00716.66
7.4.30.0080.00816.59
7.4.00.0040.01115.07
7.3.330.0060.00013.20
7.3.320.0020.00213.43
7.3.310.0000.00716.46
7.3.300.0040.00416.40
7.3.290.0100.00716.44
7.3.280.0100.00716.40
7.3.270.0160.00317.40
7.3.260.0070.01116.52
7.3.250.0110.00916.56
7.3.240.0080.01116.63
7.3.230.0100.00716.66
7.3.210.0180.00316.44
7.3.200.0030.01419.39
7.3.190.0140.00716.48
7.3.180.0100.00616.49
7.3.170.0100.00716.77
7.3.160.0170.00016.33
7.3.10.0220.01016.63
7.3.00.0320.01016.28
7.2.330.0110.00716.68
7.2.320.0040.01716.57
7.2.310.0030.01516.62
7.2.300.0130.01016.84
7.2.290.0110.01216.95
7.2.130.0110.00816.62
7.2.120.0070.01116.90
7.2.110.0030.00716.64
7.2.100.0030.01816.66
7.2.90.0090.00616.87
7.2.80.0110.00416.66
7.2.70.0070.01016.69
7.2.60.0060.00316.74
7.2.50.0070.00716.54
7.2.40.0060.01016.81
7.2.30.0030.01017.11
7.2.20.0130.00016.93
7.2.10.0050.00816.42
7.2.00.0090.00518.10
7.1.250.0090.00315.10
7.1.100.0000.01118.31
7.1.70.0000.01617.02
7.1.60.0120.00619.40
7.1.50.0070.01716.96
7.1.00.0030.07722.44
7.0.200.0050.01016.41
7.0.140.0000.07722.15
7.0.60.0070.05020.05
7.0.50.0030.04317.86
7.0.40.0170.08019.98
7.0.30.0230.05020.16
7.0.20.0270.06720.01
7.0.10.0000.04720.16
7.0.00.0070.05720.16
5.6.280.0000.07721.12
5.6.210.0130.07020.48
5.6.200.0070.08018.16
5.6.190.0030.09320.39
5.6.180.0230.04020.57
5.6.170.0170.06320.50
5.6.160.0030.04320.51
5.6.150.0100.04718.12
5.6.140.0070.03318.09
5.6.130.0030.04718.08
5.6.120.0030.08721.16
5.6.110.0170.07321.00
5.6.100.0130.07321.13
5.6.90.0100.08720.98
5.6.80.0100.08020.53
5.5.350.0030.03020.47
5.5.340.0130.04317.96
5.5.330.0070.09320.28
5.5.320.0230.05320.32
5.5.310.0200.06320.29
5.5.300.0030.08718.00
5.5.290.0070.06717.98
5.5.280.0000.04320.78
5.5.270.0000.07320.89
5.5.260.0100.07320.78
5.5.250.0030.05020.70
5.5.240.0230.06720.27
5.4.450.0470.04319.24
5.4.440.0100.05019.24
5.4.430.0470.04319.40
5.4.420.0430.04319.50
5.4.410.0230.04019.35
5.4.400.0430.03318.81
5.4.390.0130.02718.78
5.4.380.0230.05318.55
5.4.370.0130.05718.66
5.4.360.0270.06318.55
5.4.350.0170.05318.67
5.4.340.0230.04318.61
5.4.320.0060.03612.48
5.4.310.0090.03512.48
5.4.300.0040.03812.48
5.4.290.0060.03812.48
5.4.280.0030.04312.38
5.4.270.0080.04112.38
5.4.260.0050.04112.38
5.4.250.0060.03712.38
5.4.240.0040.03712.37
5.4.230.0030.04112.37
5.4.220.0070.04112.37
5.4.210.0070.03712.37
5.4.200.0070.03712.36
5.4.190.0060.04512.36
5.4.180.0050.04212.36
5.4.170.0050.03712.38
5.4.160.0100.03112.37
5.4.150.0040.03712.37
5.4.140.0050.03812.05
5.4.130.0060.03512.04
5.4.120.0070.03411.99
5.4.110.0080.03611.99
5.4.100.0080.03511.99
5.4.90.0090.03511.99
5.4.80.0080.03811.99
5.4.70.0060.03511.99
5.4.60.0050.03911.98
5.4.50.0080.03311.98
5.4.40.0050.03511.97
5.4.30.0060.03411.98
5.4.20.0040.03711.97
5.4.10.0060.03411.97
5.4.00.0010.04111.46
5.3.290.0080.04712.80
5.3.280.0090.04712.71
5.3.270.0090.05012.72
5.3.260.0080.03912.72
5.3.250.0040.05112.72
5.3.240.0100.03612.72
5.3.230.0070.03612.71
5.3.220.0070.03512.68
5.3.210.0080.03712.68
5.3.200.0050.03712.68
5.3.190.0060.04012.68
5.3.180.0080.03412.67
5.3.170.0040.03812.67
5.3.160.0090.03412.67
5.3.150.0070.03712.67
5.3.140.0100.03212.66
5.3.130.0060.03912.66
5.3.120.0060.04512.66
5.3.110.0080.04612.66
5.3.100.0080.03612.12
5.3.90.0080.03512.09
5.3.80.0070.03412.08
5.3.70.0050.03812.09
5.3.60.0070.03512.07
5.3.50.0120.03312.02
5.3.40.0050.03812.02
5.3.30.0060.03411.98
5.3.20.0060.04011.75
5.3.10.0050.03611.72
5.3.00.0050.03711.71
5.2.170.0040.0319.22
5.2.160.0030.0319.22
5.2.150.0030.0339.22
5.2.140.0050.0309.22
5.2.130.0030.0309.18
5.2.120.0040.0299.18
5.2.110.0020.0329.19
5.2.100.0050.0289.18
5.2.90.0050.0299.18
5.2.80.0050.0329.17
5.2.70.0020.0339.17
5.2.60.0050.0309.13
5.2.50.0030.0339.10
5.2.40.0060.0289.07
5.2.30.0060.0289.05
5.2.20.0050.0309.04
5.2.10.0050.0288.99
5.2.00.0050.0288.85
5.1.60.0060.0238.14
5.1.50.0080.0208.14
5.1.40.0040.0248.11
5.1.30.0070.0228.47
5.1.20.0050.0268.48
5.1.10.0060.0248.21
5.1.00.0050.0248.22
5.0.50.0020.0226.70
5.0.40.0040.0196.55
5.0.30.0040.0326.37
5.0.20.0040.0196.36
5.0.10.0050.0186.33
5.0.00.0050.0296.32
4.4.90.0040.0194.77
4.4.80.0040.0194.75
4.4.70.0030.0174.76
4.4.60.0050.0134.75
4.4.50.0020.0164.77
4.4.40.0040.0254.71
4.4.30.0040.0144.76
4.4.20.0050.0134.84
4.4.10.0020.0164.85
4.4.00.0030.0244.76
4.3.110.0020.0164.66
4.3.100.0030.0154.66
4.3.90.0010.0164.63
4.3.80.0030.0244.63
4.3.70.0020.0154.63
4.3.60.0020.0154.63
4.3.50.0020.0164.63
4.3.40.0010.0254.57
4.3.30.0030.0153.39
4.3.20.0020.0163.37
4.3.10.0020.0163.32
4.3.00.0030.02015.98

preferences:
49.21 ms | 400 KiB | 5 Q