1--TEST--
2Test quotemeta() function : basic functionality
3--FILE--
4<?php
5
6echo "*** Testing quotemeta() : basic functionality ***\n";
7
8var_dump(quotemeta("Hello how are you ?"));
9var_dump(quotemeta("(100 + 50) * 10"));
10var_dump(quotemeta("\+*?[^]($)"));
11?>
12--EXPECT--
13*** Testing quotemeta() : basic functionality ***
14string(20) "Hello how are you \?"
15string(19) "\(100 \+ 50\) \* 10"
16string(20) "\\\+\*\?\[\^\]\(\$\)"
17