|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2003-06-27 17:36 UTC] marcot at tabini dot ca
  [2003-06-27 17:45 UTC] sniper@php.net
  [2003-06-27 19:05 UTC] php at projectjj dot com
  [2003-06-30 04:51 UTC] mgf@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 21:00:02 2025 UTC | 
Description: ------------ echo strspn('rRc', 'R'); // returns 0 echo strspn('Rrc', 'R'); // returns 1 Shouldn't both of these return 1? Reproduce code: --------------- echo strspn('rRc', 'R'); Expected result: ---------------- 1