473,385 Members | 1,325 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

<? Deprecation

Hey Everyone,

I've heard that '<?' opening tags rather than <?php are now, or soon
will be deprecated. Can anyone confirm this?

thanks!

Ben

Oct 10 '06 #1
4 1144
Well. Current releases have still set short_open_tag in php.ini to 1. I
dont know if this may change in later releases, but this form can cause
conflicts with XML-Elements and as i already said: it can be disabled in
the php.ini.

Florian

uidzer0 wrote:
Hey Everyone,

I've heard that '<?' opening tags rather than <?php are now, or soon
will be deprecated. Can anyone confirm this?

thanks!

Ben
Oct 10 '06 #2
On 10 Oct 2006 07:16:54 -0700, "uidzer0" <be************@gmail.comwrote:
>I've heard that '<?' opening tags rather than <?php are now, or soon
will be deprecated. Can anyone confirm this?
They're not deprecated at the moment and I couldn't find anything saying they
would be from a quick search; the few relevant hits that came up from PHP
development mailing lists implied it's not going to be.

However, using short_open_tags is not recommended and hasn't been for some
time - but that's not the same as being deprecated.

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Oct 10 '06 #3
"adlerweb" <ad******@arcor.dewrote in message
news:45***********************@newsspool2.arcor-online.net...
Well. Current releases have still set short_open_tag in php.ini to 1. I
dont know if this may change in later releases, but this form can cause
conflicts with XML-Elements and as i already said: it can be disabled in
the php.ini.

I heard they recently added wisdom to php so that even if short open tags
are enabled, they will not be confused with <?xml ?>, but that's only since
php 5.?.? version.

--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti päivittyvä nettisarjis
sp**@outolempi.net | rot13(xv***@bhgbyrzcv.arg)
Oct 11 '06 #4

They WANT to deprecate them, but they won't.

http://php.net/~derick/meeting-notes...nd-add-php-var


uidzer0 wrote:
Hey Everyone,

I've heard that '<?' opening tags rather than <?php are now, or soon
will be deprecated. Can anyone confirm this?

thanks!

Ben
Oct 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

77
by: Gerrit Holl | last post by:
Hi, the <> inequality test operator has been deprecated for a loooooong time. Is there a reason that it doesn't trigger a DeprecationWarning? $ python2.2 -Wall -c "print 0 <> 0" 0 $...
46
by: Robin Becker | last post by:
It seems that the rotor module is being deprecated in 2.3, but there doesn't seem to be an obvious alternative. I'm using it just for obfuscation. It seems we have ssl available in 2.3 for sockets,...
12
by: zhi | last post by:
Really confused, when I use keyword style argument as following: >>> input(prompt="hello") Traceback (most recent call last): File "<pyshell#52>", line 1, in -toplevel- input(prompt="hello")...
61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
16
by: rik | last post by:
I was flicking through a PHP book (one of the teach in 24 hour ones) and I came across something I had never seen before in PHP. It was a method of printing out without using the print method, it...
7
by: TeamHubbell | last post by:
Hello, I was wondering if anyone has some suggestions on how to deprecate C routines from a n already released API. I would like to be able to do this via the gcc compiler and be warn the end...
185
by: Martin Jørgensen | last post by:
Hi, Consider: ------------ char stringinput ..bla. bla. bla. do {
1
by: psreddy71 | last post by:
i am trying to solve deprecation warning problem from past days.can any body help me please ? i am getting deprecation warning at method .can any body compile this program under jdk1.5 and...
4
by: Anoop | last post by:
Hi All, I am getting the following error while trying to use deprecation Please help 'a.b.mpilgrim.z' Traceback (most recent call last): File "<interactive input>", line 1, in ?...
1
by: Gennaro Prota | last post by:
James Kanze wrote: I see. You imply that, in theory, it couldn't be canceled? Or that it would require some long workflow? Yes, I know the etymology (BTW, terms of direct Latin derivation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.