Eduardo Fuerte
asked on
Could you point how to deal with this kind of PHP notation?
Hi Experts
Could you point how to deal with this kind of PHP notation?
f.e.
%company_id$d
The legacy code I'm maintaing is FuelPHP, I don't know if it's a particular feature of FuelPHP or of in general PHP.
Thanks in advance
Could you point how to deal with this kind of PHP notation?
f.e.
%company_id$d
$query = static::procedure_query('call', 'get_dashboard_current',
'%company_id$d, %date_begin$s, %date_end$s, %month$d, %group_id$s', $params);
The legacy code I'm maintaing is FuelPHP, I don't know if it's a particular feature of FuelPHP or of in general PHP.
Thanks in advance
I suspect that usage is peculiar to your code or FuelPHP. The standard usage for '%' is as a modulus operator in arithmetic. http://php.net/manual/en/language.operators.arithmetic.php
ASKER
Hi
I really could not find the meaning of this code.
By the way the app is perfectly running...
I really could not find the meaning of this code.
By the way the app is perfectly running...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You are probably right.
Thanks for help!
Thanks for help!
B-) Glad we could help!