PHP セッションの最大時間を調べようとしています (cpanel または php.ini ファイルにアクセスできません)。このコードを使用しようとしていますが、何も出力されません (「hello」を除く)。どうしたの?
<?php
session_start();
error_reporting(E_ALL);
ini_set("error_reporting",1);
// Get the current Session Timeout Value
$currentTimeoutInSecs = ini_get(’session.gc_maxlifetime’);
print "hello " . $currentTimeoutInSecs;
?>