You are here: PSPad forum > Bug report / Hlášení chyb > php code explorer comment bug
Posted by: francesco.tota | Date: 2014-11-21 14:22 | IP: IP Logged
This code works fine in Code Explorer:
<?php
class test {
function a(){
/*
if (x!=y) do_something;
*/
}
function b(){
}
}
?>
If I add a closing brace in the block comment inside a function, code explorer incorrectly shows method b (and all other methods defined after) to be outside class Test as a global function:
<?php
class Test {
function a(){
/*
if (x!=y) { do_something; }
*/
}
function b(){
}
}
?>
Tested with 4.5.5, 4.5.8 and 4.5.9
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR