src/bbn/str.php
public static function has_slash(): bool
  {

    $args = \func_get_args();
    // Each argument must be a string starting with a letter, and having than one character made of letters, numbers and underscores
    foreach ( $args as $a ){
      if ( (strpos($a, '/') !== false) || (strpos($a, '\\') !== false) ){
        return true;
      }
    }

    return false;
  }
public static function has_slash(): bool
  {

    $args = \func_get_args();
    // Each argument must be a string starting with a letter, and having than one character made of letters, numbers and underscores
    foreach ( $args as $a ){
      if ( (strpos($a, '/') !== false) || (strpos($a, '\\') !== false) ){
        return true;
      }
    }

    return false;
  }
public static function has_slash ( ) : bool { $ args = \ func_get_args ( ) ; // Each argument must be a string starting with a letter, and having than one character made of letters, numbers and underscores foreach ( $ args as $ a ) { if ( ( strpos ( $ a , '/' ) !== false ) || ( strpos ( $ a , '\\' ) !== false ) ) { return true ; } } return false ; }
Checks if a string complies with SQL naming convention.
Returns "true" if slash or backslash are present.

```php
\bbn\x::dump(\bbn\str::has_slash("Paul"));
// (bool) false
\bbn\x::dump(\bbn\str::has_slash("Paul/");
// (bool) 1
\bbn\x::dump(\bbn\str::has_slash("Paul\\");
// (bool) 1
```

@return bool
Checks if a string complies with SQL naming convention . Returns true if slash or backslash are present .