Updates to 3rd party libraries
Add Dockerfile and specific docker-php.ini
This commit is contained in:
24
inc/vendor/godsgood33/php-db/tests/TestClass.php
vendored
Normal file
24
inc/vendor/godsgood33/php-db/tests/TestClass.php
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
class TestClass
|
||||
{
|
||||
|
||||
var $var;
|
||||
|
||||
public function _escape()
|
||||
{
|
||||
return str_replace([
|
||||
"\n",
|
||||
"\r",
|
||||
"\\",
|
||||
"'",
|
||||
'"'
|
||||
], [
|
||||
"\\n",
|
||||
"\\r",
|
||||
"\\\\",
|
||||
"\'",
|
||||
'\"'
|
||||
], $this->var);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user