File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -630,12 +630,12 @@ public function __construct(
630630 throw new PDOException ( 'could not find driver ' );
631631 }
632632
633- // PDO DSN supports semicolon quoting using double semicolon sequences.
634- // Replace ";;" with "\0" to preserve quoted semicolons in "explode()".
633+ // PDO DSN supports semicolon escaping using double semicolon sequences.
634+ // Replace ";;" with "\0" to preserve escaped semicolons in "explode()".
635635 $ args_string = str_replace ( ';; ' , "\0" , $ dsn_parts [1 ] );
636636 $ args = array ();
637637 foreach ( explode ( '; ' , $ args_string ) as $ arg ) {
638- // Restore quoted semicolons that were replaced with "\0".
638+ // Restore escaped semicolons that were replaced with "\0".
639639 $ arg = str_replace ( "\0" , '; ' , $ arg );
640640
641641 // PDO DSN allows whitespace before argument name. Trim characters
You can’t perform that action at this time.
0 commit comments