The total cost of pizza, soda and jeans is $2.75 + $1.50 + $11.50 = $<<2.75+1.5+11.5=15.75>>15.75
He now has $40 - $15.75 = $<<40-15.75=24.25>>24.25 left.
There are 4 quarters in $1.00 so $24 is equal to 24 x 4 = <<24*4=96>>96 quarters.
25 cents is equal to 1 quarter.
Therefore, Phil has 96 quarters + 1 quarter = <<96+1=97>>97 quarters now.
#### 97