PHP 8.4.24 Released!

Voting

: three plus two?
(Example: nine)

The Note You're Voting On

Tom Worster
17 years ago
A replacement that should be safe on utf-8 strings.
<?php
  preg_replace(array('/\x5C(?!\x5C)/u', '/\x5C\x5C/u'), array('','\\'), $s);
?>

<< Back to user notes page

To Top