Since upgrading from php 7 to php 8, I can no longer Step Into/Step Over/Continue with NetBeans IDE 11.0 and xdebug 3.0.4. xdebug (via NetBeans) is configured to “Stop at First Line” – and this works. That is, the (local host) web page is suspended, and the NetBeans Step Into/Step Over/Continue buttons are enabled. But, when I click any of
Tag: netbeans
PHP How to filter ‘in a correct way’ All $_POST variables
Using Netbeans, whenever i try to access a variable in $_POST or $_GET, i’m adviced to use something like: filter_input(INPUT_POST,’id’), for ‘safety’ (i don’t think it’s any safer than using filter_input with the default NON filter, but anyways..). This got me thinking about the answer to this post: How to grab all variables in a post (PHP) There you have:
Netbeans PHPDoc local variable not working
I am trying to document my code more often and now I’m writing a class and want it to be fully documented. However, for some strange reason, local variable documentation (with PHPDoc of course) doesn’t work.. I got this: So when I type ‘the’ and press space, and go to my function in Netbeans, it shows the function documentation. But,
How to debug Laravel framework?
I’m a newbie PHP programmer now casting an eye at frameworks, and among them Laravel sounds appealing to me as a beginner (somehow unfortunately because I’ve already invested in literature on Zend 2). …
PHP Type Hinting for a map (associative array) in NetBeans?
I’m trying to get advantage of NetBeans’ intelligent way of handling object types, so I’m hinting to every object’s type in comments. Problem is, I want to hint to an associative array of (string => …
netbeans shows “Waiting For Connection (netbeans-xdebug)”
need help to configure xdebug, for debugging projects from IDE netbeans. These are the features of my components: XAMPP 1.8.2 PHP: 5.4.16 netbeans: 7.3.1 Apache: 2.4.4 (Win32) this is the …
NetBeans auto-completion from included file not working?
I have a file named config.php, and i have other files includes config.php. When editing one of files, I use an object from config.php and it autocompletes name of the object. But, when i try to see functions or variables of this object (with ->), there is no auto-completion. Is there any way to make it work? Note: I already
NetBeans always shows warning: “The authenticity of host x can’t be established” after upload, download or synchronize
I’m currently using NetBeans 6.9 with the PHP plugin and a PHP Application from Remote Server project. However, every time I upload or download with it, I’m prompted with a warning that reads: The …