2

Why the Zend Studio doesn't recognize some functions?

enter image description here enter image description here

Michelangelo
  • 1,398
  • 2
  • 14
  • 37

2 Answers2

1

Here how I have solved the issue:

Under Preferences in the Zend Studio application I have added the correct path of the interpreter. In my case: /usr/bin/php

Then I have closed and open again the Zend Studio and the issue is disappeared.

Zend Studio Preferences

enter image description here

Michelangelo
  • 1,398
  • 2
  • 14
  • 37
  • Strangely I couldn't make it work for all my projects but I guess this is the correct solution. Thanks for your time. – Martin Dimitrov Jun 09 '15 at 05:34
  • on my machine running the php.exe from within a bundled 5.5 or 5.6 in CLI returns a error, which might be the underlying issue. see Zend Forums http://forums.zend.com/viewtopic.php?f=59&t=128193&p=253078#p253078 – staabm Aug 31 '15 at 14:32
-1

It recognizes them, it's just a notice that you should use global namespace for these functions:

\is_numeric($id);
\print_r($event);

empty() is not function, but language construct.

It's likely possible to exclude these notices somewhere in the settings.

Marek
  • 7,337
  • 1
  • 22
  • 33