The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
strcmpi issue
Author Message
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #1
strcmpi issue
Looking at world gembits with spawn groups attached.

This:

if !(strcmpi(*<more1>*,*spawn*))

Never returns true while:

if (strcmpi(*<more1>*,*spawn*))

returns true even when it's not.

<more1> contains "spawn_<dungeonname><lvl>"
So with the wildcards it should technically return true if the word spawn appears under more1.
So why doesn't it?

[Image: 2nis46r.jpg]
11-15-2012 10:35 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
strcmpi issue - Mordaunt - 11-15-2012 10:35 AM
RE: strcmpi issue - Skul - 11-15-2012, 10:48 AM
RE: strcmpi issue - RanXerox - 11-15-2012, 11:30 AM
RE: strcmpi issue - Mordaunt - 11-15-2012, 11:51 AM
RE: strcmpi issue - RanXerox - 11-15-2012, 12:06 PM
RE: strcmpi issue - Ben - 11-15-2012, 10:02 PM
RE: strcmpi issue - Mordaunt - 11-15-2012, 10:58 PM
RE: strcmpi issue - Ben - 11-16-2012, 09:08 AM
RE: strcmpi issue - Skul - 11-16-2012, 01:14 PM
RE: strcmpi issue - Mordaunt - 11-16-2012, 11:05 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)