NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Define autocomplete bug


Joined: 07 Aug 2011
Posts: 3
Reply with quote
The following bug occurs when using define with a namespace in phped 6.1.

Code:
<?php
    define("lib\\DEFINE", 1); // Double quotes used so double backslash required

    // The autocomplete will include a double backslash instead of a single backslash.
    $a = \lib\\DEFINE; // Error
?>



In addition when using an alias, the define will not show up in the autocomplete.
View user's profileFind all posts by BlakeHancockSend private message
Define autocomplete bug
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic