PHP mysqli_debug() Functie
Voorbeeld
Maak een traceringsbestand in "/temp/client.trace" op de lokale computer:
<?php
mysqli_debug("d:t:o,/temp/client.trace");
?>
Definitie en gebruik
De functie mysqli_debug() wordt gebruikt om foutopsporingsbewerkingen uit te voeren.
Opmerking: om deze functie te gebruiken, moet u de MySQL-clientbibliotheek compileren om foutopsporing te ondersteunen.
Syntaxis
mysqli_debug(message);
Parameterwaarden
Parameter | Description |
---|---|
message | Required. A string that represents the debugging operation to perform |
Technische details
Winstwaarde: | WAAR |
---|---|
PHP-versie: | 5+ |
❮ PHP MySQLi-referentie