Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Craziness Domain. | 2 guests |
Acmlm's Board - I2 Archive - Craziness Domain - print or echo? | | | |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Which are you accustomed to? (in php)Do you use print or echo to create strings? | print |
59.1%, 13 votes | echo |
40.9%, 9 votes | Multi-voting is disabled.
| |
User | Post | ||
Dylan Devil Trumpets and Angel Trombones ~ Level: 54 Posts: 1274/1407 EXP: 1181697 For next: 52173 Since: 06-19-04 From: Ottawa, Canada. Since last post: 1 day Last activity: 6 hours |
| ||
I tend to use print. | |||
Holy Knight Koopa Level: 16 Posts: 81/107 EXP: 19628 For next: 628 Since: 12-23-04 Since last post: 26 days Last activity: 25 days |
| ||
I use print all the time. | |||
Xkeeper The required libraries have not been defined. Level: NAN Posts: -2733/-863 EXP: NAN For next: 0 Since: 03-15-04 Since last post: 2 hours Last activity: -753366 sec. |
| ||
echo "<--"; | |||
windwaker Ball and Chain Trooper WHY ALL THE MAYONNAISE HATE Level: 61 Posts: 962/1797 EXP: 1860597 For next: 15999 Since: 03-15-04 Since last post: 4 days Last activity: 6 days |
| ||
Echo > you. | |||
Prier Archangel Administrative Priestess. NUCLEAR SUB WEEEOOOO Level: 119 Posts: 4729/8392 EXP: 18790939 For next: 138352 Since: 03-15-04 From: Nerima Dist. - Tokyo, Japan Since last post: 1 day Last activity: 1 day |
| ||
I'd be too used to the MS-DOS echo...last I checked my webpage PHP used echo over print. Either or works though. |
|||
Xkeeper The required libraries have not been defined. Level: NAN Posts: -2731/-863 EXP: NAN For next: 0 Since: 03-15-04 Since last post: 2 hours Last activity: -753366 sec. |
| ||
Echo was proven to be faster. by about 0.03 seconds with literal millions of commands, but the finer details don't matter (edited by Xkeeper on 01-12-05 12:16 AM) (edited by Xkeeper on 01-12-05 12:16 AM) |
|||
windwaker Ball and Chain Trooper WHY ALL THE MAYONNAISE HATE Level: 61 Posts: 964/1797 EXP: 1860597 For next: 15999 Since: 03-15-04 Since last post: 4 days Last activity: 6 days |
| ||
Either or works though. Srsly? |
|||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 253/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
I like print but I could do either. | |||
Kitten Yiffer Purple wand Furry moderator Vivent l'exp����¯�¿�½������©rience de signalisation d'amusement, ou bien ! Level: 135 Posts: 7211/11162 EXP: 28824106 For next: 510899 Since: 03-15-04 From: Sweden Since last post: 3 hours Last activity: 4 min. |
| ||
Print, i'm just too used with programming languages that uses print. Such as Java... | |||
MathOnNapkins Math n' Hacks Level: 67 Posts: 1303/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
Java's print is slow as all bloody hell though. | |||
alte Hexe Star Mario I dreamed I saw Joe Hill last night Alive as you and me "But Joe you're ten years dead!" "I never died" said he "I never died!" said he Level: 99 Posts: 2406/5458 EXP: 9854489 For next: 145511 Since: 03-15-04 From: ... Since last post: 2 hours Last activity: 2 hours |
| ||
Java is slow as bloody hell I've never liked toying with that language. On an interesting note, I too have an uncle...come in. |
|||
Prier Archangel Administrative Priestess. NUCLEAR SUB WEEEOOOO Level: 119 Posts: 4738/8392 EXP: 18790939 For next: 138352 Since: 03-15-04 From: Nerima Dist. - Tokyo, Japan Since last post: 1 day Last activity: 1 day |
| ||
Originally posted by windwaker Yes. Srsly. |
|||
FreeDOS Lava Lotus Wannabe-Mod :< Level: 59 Posts: 1015/1657 EXP: 1648646 For next: 24482 Since: 03-15-04 From: Seattle Since last post: 6 hours Last activity: 4 hours |
| ||
echo 'I\'m tending to use echo a whole lot more.... I don\'t care about the whole "OMG ECHO'S FASTER", though.'; | |||
DarkSlaya POOOOOOOOOOOORN! Level: 88 Posts: 3248/4249 EXP: 6409254 For next: 241410 Since: 05-16-04 From: Montreal, Quebec, Canada Since last post: 8 hours Last activity: 5 hours |
| ||
I tend to use echo more. But depends on my mood (yes, I use both for a reason's that so stupid). | |||
Jizuko Jiz Is The Magic! This board has run out of mana and can no longer use The Magic Level: 51 Posts: 986/1191 EXP: 1004683 For next: 9255 Since: 03-15-04 Since last post: 230 days Last activity: 213 days |
| ||
<- Rebel. writeln. |
|||
MathOnNapkins Math n' Hacks Level: 67 Posts: 1308/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
well I liked that one DOS service routine I learned about a couple years ago while writing programs in hex. what was it, MOV 41,AH or something? | |||
kiwibonga Double metal axe Level: 27 Posts: 254/266 EXP: 106040 For next: 10119 Since: 03-15-04 From: Montreal, QC, Canada Since last post: 126 days Last activity: 3 days |
| ||
or something like MOV EAX, 0 MOV EBX, STRPTR MOV ECX, STRLEN INT 0x20 hmm... Don't remember the exact code ;p I use print more... I learned PHP by modifying stuff in acmlmboard, which has (or had, not sure if it changed) print all over it hmm... But I always go "echo mysql_error();" if I need to debug a mysql query for some reason... |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 1619/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
"Do you use print or echo to create strings?" I use the assignment operator to create strings: $foo = "bar"; However I use print to output strings: print $foo; There's a difference. |
|||
Gywall Silver axe Level: 30 Posts: 316/356 EXP: 164069 For next: 1800 Since: 03-15-04 From: In front of my moniter, where you're not! Since last post: 104 days Last activity: 14 hours |
| ||
< $string1="hi"; $str2="you big fat idiot!"; echo "$string1 $str2"; ?> That's enough, right? I remember print failing on me, Echo worked though. (and all i did was switch print with echo ) (edited by Gywall on 01-13-05 10:22 AM) |
|||
Xeolord - B l u e s - Power Metal > All Level: 81 Posts: 1011/3418 EXP: 4884196 For next: 108653 Since: 03-15-04 From: Yeah Since last post: 15 hours Last activity: 15 hours |
| ||
Print just sounds more generic to me so that's what I usually go with ... even though echo sounds a little cooler. |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Craziness Domain - print or echo? | | | |