Converting a function in string format into calculation

  calculation, laravel, php, string

I am programming in php and I have the following variable :

$calculation = ’15-12′;

Is there a function allowing me to convert the character string into calculation?

Source: Ask PHP

LEAVE A COMMENT