Tests: fixed PHP "disable_functions" and "disable_classes" tests.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
$d = new DateTime('2011-01-01T15:03:01.012345Z');
|
||||
date_default_timezone_set('Europe/Moscow');
|
||||
$d = new DateTime('2011-01-01T15:03:01.012345');
|
||||
echo $d->format('u');
|
||||
?>
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
highlight_file('index.php');
|
||||
exec('pwd');
|
||||
?>
|
||||
4
test/php/time_exec/index.php
Normal file
4
test/php/time_exec/index.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
echo 'time: ' . time();
|
||||
echo 'exec: ' . exec('pwd');
|
||||
?>
|
||||
Reference in New Issue
Block a user