Oihana PHP

isQuote.php

Table of Contents

Functions

isQuote()  : bool
Checks if a character is a known quote character.

Functions

isQuote()

Checks if a character is a known quote character.

isQuote(string $char) : bool
Parameters
$char : string
Tags
author

Marc Alcaraz

since
1.0.0
example
isQuote('"');  // true
isQuote('`');  // true
isQuote('a');  // false
isQuote('»');  // true
Return values
bool

True if the character is a quote, false otherwise.


        
On this page

Search results