sagacity/inc/vendor/godsgood33/php-db/tests/TestClass.php
Ryan Prather d52454d1bb Updates to 3rd party libraries
Add Dockerfile and specific docker-php.ini
2018-08-28 21:27:13 -04:00

24 lines
330 B
PHP

<?php
class TestClass
{
var $var;
public function _escape()
{
return str_replace([
"\n",
"\r",
"\\",
"'",
'"'
], [
"\\n",
"\\r",
"\\\\",
"\'",
'\"'
], $this->var);
}
}