0

I currently have the variable:

$harryVerJina = "1+2";

and I'm trying to add it to another random integer:

$baldVerJina = $harryVerJina + 3;

the result always seems to be 4, when it should be 6. I'm aware that php usually only takes the first 'int' in a string, but is there any way to bypass this?

kevin le
  • 20
  • 4

0 Answers0