Skip to content

Commit

Permalink
Review notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhainin committed Nov 25, 2022
1 parent 5acc28b commit 6984054
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tests/basic/errorlog_usec.phpt
@@ -1,23 +1,14 @@
--TEST--
Microseconds in error log file
?>
--INI--
error_log=error_usec_test.log
error_log_usec=On
--FILE--
<?php

define('LOG_FILENAME', ini_get("error_log"));

if (file_exists(LOG_FILENAME)) {
unlink(LOG_FILENAME);
}

error_log("hello world");

assert(file_exists(LOG_FILENAME));

printf("errorlog contents\n%s", file_get_contents(LOG_FILENAME));
printf("errorlog contents\n%s", file_get_contents(ini_get("error_log")));

?>
--CLEAN--
Expand Down

0 comments on commit 6984054

Please sign in to comment.