• PHP Video Tutorials

PHP - Function Quotemeta



Syntax

string quotemeta ( string $str )

Definition and Usage

It is used to quote meta characters

Return Values

It returns the string with meta characters on success or else false on failure

Parameters

Sr.No Parameters & Description
1

string

It is a string input

Example

Try out the following example

<?php
   $input = "Tutorials point. (simply easy learning)";
   
   echo quotemeta($input);
?>

This will produce following result −

Tutorials point\. \(simply easy learning\)
php_function_reference.htm
Advertisements