Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5554 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26291 invoked by uid 1010); 19 Nov 2003 14:47:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26256 invoked from network); 19 Nov 2003 14:47:12 -0000 Received: from unknown (HELO hanna.linnea.net) (193.45.225.41) by pb1.pair.com with SMTP; 19 Nov 2003 14:47:12 -0000 Received: (qmail 19654 invoked from network); 19 Nov 2003 01:51:42 -0000 Received: from rl141.kiruna.se (HELO novell.netiic.com) (193.45.238.241) by ns2.kiruna.se with SMTP; 19 Nov 2003 01:51:42 -0000 To: internals@lists.php.net Date: Wed, 19 Nov 2003 02:51:27 +0100 User-Agent: KMail/1.5.4 References: <5.1.0.14.2.20031118235848.0347c9f0@127.0.0.1> In-Reply-To: <5.1.0.14.2.20031118235848.0347c9f0@127.0.0.1> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-ID: <200311190251.38518.magnus@php.net> Subject: Re: [PHP-DEV] E_STRICT From: magnus@php.net (Magnus =?iso-8859-1?q?M=E4=E4tt=E4?=) =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I did a quick search in the manual and found a bunch of deprecated function= s.. Here are some of them: mysql_db_query mysql_listtables mysql_createdb mysql_dropdb mysql_selectdb mysql_listfields =2E.. and a bunch of other aliases. call_user_method call_user_method_array session_register pdf_add_annotation -- Deprecated: Adds annotation pdf_add_outline -- Deprecated: Adds bookmark for current page pdf_endpath -- Deprecated: Ends current path pdf_get_font -- Deprecated: font handling pdf_get_fontname -- Deprecated: font handling pdf_get_fontsize -- Deprecated: font handling pdf_get_image_height -- Deprecated: returns height of an image pdf_get_image_width -- Deprecated: Returns width of an image pdf_open_gif -- Deprecated: Opens a GIF image pdf_open_jpeg -- Deprecated: Opens a JPEG image pdf_open_png -- Deprecated: Opens a PNG image pdf_open_tiff -- Deprecated: Opens a TIFF image pdf_open -- Deprecated: Open a new pdf object pdf_set_char_spacing -- Deprecated: Sets character spacing pdf_set_duration -- Deprecated: Sets duration between pages pdf_set_font -- Deprecated: Selects a font face and size pdf_set_info_author -- Deprecated: Fills the author field of the document pdf_set_info_creator -- Deprecated: Fills the creator field of the document pdf_set_info_keywords -- Deprecated: Fills the keywords field of the docum= ent pdf_set_info_subject -- Deprecated: Fills the subject field of the document pdf_set_info_title -- Deprecated: Fills the title field of the document pdf_set_leading -- Deprecated: Sets distance between text lines pdf_set_text_matrix -- Deprecated: Sets the text matrix pdf_set_text_rendering -- Deprecated: Determines how text is rendered pdf_set_text_rise -- Deprecated: Sets the text rise pdf_set_word_spacing -- Deprecated: Sets spacing between words pdf_setpolydash -- Deprecated: Sets complicated dash pattern "The previous syntax of: $conn =3D pg_connect ("host", "port", "options",= =20 "tty", "dbname") has been deprecated." And don't forget that $HTTP_*_VARS are deprecated too. I was lazy and didn't care to remove the descriptions.. /Magnus On Tuesday 18 November 2003 23.00, Andi Gutmans wrote: > Hey, > > I added an E_STRICT error level today which purists can use to make sure > that there scripts are using the latest and greatest suggested method of > coding (according to what we decide). > Ideas are things like: > a) Not using var for member variables but moving to PPP. > b) Not using is_a but using instanceof. > > If you have any further ideas of stuff which makes sense to add to this > option let me know. For obvious reasons this will be off by default. > > Andi =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/usyk8JJ96JyIrNYRAmvnAJ44ltdG640B4vKlypE5TbRysT7mYgCdG5pq tXRBrVHsFhV7oh/pHmNnDm4=3D =3DIHOJ =2D----END PGP SIGNATURE-----