original_string: private static function listSeparator($sUrl)
      {
          $armSeparatorPosition = array();
          foreach (RouteCollection::getSeparator() as $cSeparator) {
              $sUrlSearch = $sUrl;
              while ($nSeparatorPosition = strrpos($sUrlSearch, $cSeparator)) {
                  $armSeparatorPosition[$nSeparatorPosition] = $cSeparator;
                  $sUrlSearch = substr($sUrlSearch, 0, $nSeparatorPosition);
              }
          }
          ksort($armSeparatorPosition);
          return array_values($armSeparatorPosition);
      }
code: private static function listSeparator($sUrl)
      {
          $armSeparatorPosition = array();
          foreach (RouteCollection::getSeparator() as $cSeparator) {
              $sUrlSearch = $sUrl;
              while ($nSeparatorPosition = strrpos($sUrlSearch, $cSeparator)) {
                  $armSeparatorPosition[$nSeparatorPosition] = $cSeparator;
                  $sUrlSearch = substr($sUrlSearch, 0, $nSeparatorPosition);
              }
          }
          ksort($armSeparatorPosition);
          return array_values($armSeparatorPosition);
      }
code_tokens: private static function listSeparator ( $ sUrl ) { $ armSeparatorPosition = array ( ) ; foreach ( RouteCollection :: getSeparator ( ) as $ cSeparator ) { $ sUrlSearch = $ sUrl ; while ( $ nSeparatorPosition = strrpos ( $ sUrlSearch , $ cSeparator ) ) { $ armSeparatorPosition [ $ nSeparatorPosition ] = $ cSeparator ; $ sUrlSearch = substr ( $ sUrlSearch , 0 , $ nSeparatorPosition ) ; } } ksort ( $ armSeparatorPosition ) ; return array_values ( $ armSeparatorPosition ) ; }
docstring: List of separator defined in URL.
  
  @since   1.0
  @param   string $sUrl Current URL.
  @return  array List of separator defined in URL.
docstring_tokens: List of separator defined in URL .