You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You don't want to set your namespace to LupeCode\phpTraderNative, your projects namespace will be something different. And you cannot echo the results like that. An array cannot be implicitly converted to a string in PHP. Also you are passing in an empty array. There is nothing to calculate.
Activity
jb-lopez commentedon Sep 29, 2022
I'm going to need more details because it looks like you have a few bugs in your code from that screenshot.
uguraltinsoy commentedon Sep 29, 2022
jb-lopez commentedon Sep 30, 2022
You don't want to set your namespace to
LupeCode\phpTraderNative, your projects namespace will be something different. And you cannot echo the results like that. An array cannot be implicitly converted to a string in PHP. Also you are passing in an empty array. There is nothing to calculate.I'm not sure what you expect this code to do.