Skip to content

Commit

Permalink
updated example to use case from wordpress code
Browse files Browse the repository at this point in the history
  • Loading branch information
tikifez committed Sep 17, 2024
1 parent b2f9aaa commit a237136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WordPress/Docs/PHP/PregQuoteDelimiterStandard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<code_comparison>
<code title="Valid: The delimiter is included.">
<![CDATA[
preg_quote( $str, '/' );
preg_quote( $dir, '#' )
]]>
</code>
<code title="Invalid: The delimiter is not included.">
<![CDATA[
preg_quote( $str );
preg_quote( $dir );
]]>
</code>
</code_comparison>
Expand Down

0 comments on commit a237136

Please sign in to comment.