<?php public function testEscapeBinary()
{
$this->assertSame("x'dead00beef'", $this->app['db']->escape(hex2bin('dead00beef'), true));
}
public function testEscapeString()
<?php public function testEscapeBinary()
{
$this->assertSame("x'dead00beef'", $this->app['db']->escape(hex2bin('dead00beef'), true));
}
public function testEscapeString()
<?php public function testEscapeBinary()
{
$this->assertSame("'\\xdead00beef'::bytea", $this->app['db']->escape(hex2bin('dead00beef'), true));
}
public function testEscapeString()
<?php public function testEscapeBinary()
{
$this->assertSame("x'dead00beef'", $this->app['db']->escape(hex2bin('dead00beef'), true));
}
public function testEscapeString()
<?php public function testEscapeBinary()
{
$this->assertSame('0xdead00beef', $this->app['db']->escape(hex2bin('dead00beef'), true));
}
public function testEscapeString()