~ubuntu-branches/ubuntu/lucid/php5/lucid

« back to all changes in this revision

Viewing changes to ext/standard/tests/network/define_syslog_variables_variation.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-03-16 09:09:50 UTC
  • mfrom: (1.1.18 upstream) (0.3.10 sid)
  • Revision ID: james.westby@ubuntu.com-20100316090950-e36m0pzranoixifd
Tags: 5.3.2-1ubuntu1
* Merge from debian unstable: 
  - debian/control:
    * Dropped firebird2.1-dev, libc-client-dev, libmcrypt-dev as it is in universe.
    * Dropped libmysqlclient15-dev, build against mysql 5.1.
    * Dropped libcurl-dev not in the archive.
    * Suggest php5-suhosin rather than recommends.
    * Dropped php5-imap, php5-interbase, php5-mcrypt since we have versions already in
      universe.
    * Dropped libonig-dev and libqgdbm since its in universe. (will be re-added in lucid+1)
    * Dropped locales-all.
  - modulelist: Drop imap, interbase, and mcrypt.
  - debian/rules:
    * Dropped building of mcrypt, imap, and interbase.
    * Install apport hook for php5.
  - Dropped debian/patches/libedit_is_editline.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
--TEST--
2
2
Test define_syslog_variables() function : variation
3
 
--SKIPIF--
4
 
<?php
5
 
if(substr(PHP_OS, 0, 3) == "WIN")
6
 
  die("skip don't run on Windows");
7
 
?> 
8
 
--INI--
9
 
define_syslog_variables = true
10
3
--FILE--
11
4
<?php
12
5
/* Prototype  : void define_syslog_variables(void)
15
8
 * Alias to functions: 
16
9
 */
17
10
 
 
11
define_syslog_variables();
 
12
 
18
13
echo "*** Testing define_syslog_variables() : variation ***\n";
19
14
 
20
15
$log_constants = array(
90
85
}
91
86
?>
92
87
===DONE===
93
 
--EXPECT--
94
 
PHP Warning:  Directive 'define_syslog_variables' is deprecated in PHP 5.3 and greater in Unknown on line 0
 
88
--EXPECTF--
 
89
Deprecated: Function define_syslog_variables() is deprecated in %s on line %d
95
90
*** Testing define_syslog_variables() : variation ***
96
91
PASSED
97
92
===DONE===