[php] Question about jsmin-php code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm see some code from jsmin-php like follow:

<?php
error_reporting(E_STRICT);

fwrite(STDERR, memory_get_peak_usage(true)."\n");

require './jsmin.php';
echo JSMin::minify(file_get_contents('ext-all-debug.js'));

fwrite(STDERR, memory_get_peak_usage(true)."\n");
?>

I have some question about code
1.what is E_STRICT error level mean?I'm found an explain at
http://www.php.net/manual/en/errorfunc.constants.php
but i don't understand which situation need this level?
2.document for STDERR is at http://php.net/manual/en/wrappers.php.php
but why it write some output to STDERR ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux