Question: What value is stored in $inventory after these three PHP instructions are executed? $inventory = 320; $unitsSold = 40; $inventory = $inventory - $unitsSold; 320

What value is stored in $inventory after these three PHP instructions are executed? $inventory = 320; $unitsSold = 40; $inventory = $inventory - $unitsSold; 320 40 280 Error! you cannot use the same variable on both sides of the = operator

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!