Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*[“‘][a-z0-9\-_\!\$]+[“‘]’: the class Test */ require "./vendor/autoload.php"; use PhpOrient\PhpOrient; use PhpOrient\Protocols\Binary\Data\ID; use PhpOrient\Protocols\Binary\Data\Record; $client = new PhpOrient( '10.0.2.2', 2424 ); $client->username = 'root'; $client->password = 'root'; $client->connect(); $client->dbOpen( 'test', 'admin', 'admin' ); //create record $subOData = [ "@type" => "d", "@class" => "SubTest", "id" => "123456-78980", "value1Name" => "Test", "value1" => […]
↧