PHP 8.5.0 Alpha 4 available for testing

Voting

: seven minus five?
(Example: nine)

The Note You're Voting On

Hayley Watson
8 years ago
PostgreSQL 9.0 introduced a new hexadecimal-based representation for bytea data that is preferred over the escaping mechanism implemented by this function.

<?php
function pg_escape_byteahex($binary)
{
return
"E'\\\\x".bin2hex($binary)."'";
}
?>

<< Back to user notes page

To Top