Skip navigation
.
The PHP WTF
Navigation
About PHPWTF
Submit a WTF
Categories
DB Hoopla (5)
3 days 12 hours ago
Fugly Code (3)
3 days 12 hours ago
Bad Architecture (13)
1 week 3 days ago
Announcements (3)
4 weeks 10 hours ago
Wonky Code (16)
4 weeks 1 day ago
Hall of Fame (5)
5 weeks 4 days ago
Browse archives
«
January 2005
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Feeds
Recommended:
RSS 0.92
Sorta broken:
RSS 1
RSS 2
Atom
User login
Username:
Password:
Create new account
Request new password
Home
»
echo "using echo sucks!";
Add new comment
Submitted by
ryan
(not verified) on Mon, 2004-11-22 17:48.
kylector-
I don't know how much slower it is, but I don't think that's the biggest problem with this use of echo.
The problem is that this is considerably less readable, especially if the text editor being used doesn't highlight HTML within php strings.
Reply
Your name:
E-mail:
Homepage:
Comment:
*
Formatting guidelines:
Web and e-mail addresses are automatically converted into links.
Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br /> <br>
More information about formatting options
$ Google $
Use Firefox!
I don't know how much slower it is, but I don't think that's the biggest problem with this use of echo.
The problem is that this is considerably less readable, especially if the text editor being used doesn't highlight HTML within php strings.