@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 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



Comments:

<0> :)
<1> ok going back to work i speak too much on irc this morning
<2> hartym thats prolly coz you only discovered it today... $var{x} specifically to me indicates that a) $var is a string and b) you're getting the x+1th char
<2> $var[x] doesnt tell me jack unless i look at all the code above it
<1> last word from me, if it gets deleted in PHP6 there's maybe a reason...
<3> MrNaz: found the {} vs [] thing: http://www.php.net/~derick/meeting-notes.html#cleanup-for-vs
<2> hartym yes, because the PHP devs have proven themselves to be infallible :P </troll>
<2> Elliot` thanks
<2> i'll take a look
<1> or because {} doesn't make sense at all :p
<0> MrNaz: Do you know any other languages other than PHP?
<2> hartym *shrug* nothing makes sense until you've learned it... but it seems i have been outvited in my view...
<4> Stormchaser: MrNaz knows English :)
<2> Stormchaser i have to admit that i do not... and i understand fully the need to comply with de facto standards
<2> nonetheless i also understand that bitching on irc that the world doesnt conform to my preferences makes me feel better about that fact :)



<5> What's the easiest way to undo the character escaping PHP does for text coming from <textarea> elements?
<0> MrNaz: I know many languages, and no other than PHP has the {} for accessing character index. I really thihnk it's silly
<2> Stormchaser would you still think that if all other languages all used the [] for arrays and {} for strings syntax?
<5> (I'm embedding a raw file editor into a script and the escaping could prove disastrous)
<6> deitarion: either you disable magic_quotes (effects all input) or specifically stripslashes() on textarea input
<2> moral: the world would be better if it conformed to my preference :P
<5> deadroot: stripslashes() will handle \\ to \ conversions properly?
<0> MrNaz: As hartym pointed out -- string is array of characters, and it's usually treated as array...
<7> doubtful
<7> @ MrNaz and his 'better world'
<0> lol
<8> MrNaz: Obviously not.
<2> guys really... i wasnt serious
<2> this toothbrush moushatche of mine is just coz its fashionable, honest
<8> MrNaz: I am. :)
<9> wooo, there's yet another webserver out there with full php support through the cgi interface :)
<2> Stormchaser while i agree with everything thats been put forward, you cant really think of a string as an array... unless you think of EVERYTHING on a computer as an array
<5> deadroot: I tested it myself and it does, sorry for asking such an easily answered question.
<8> MrNaz: Do you now agree that string is an array of characters?
<6> deitarion: np
<7> php treats strings like arrays from my experience
<2> tws no
<2> but this is an argument of semantics
<2> in fact its probably philosophical...
<2> "What is an array"?
<10> gah, i'm having the darndest time getting pfpro setup on my server. I've followed all of the tips in the user comments, but I still get this error when trying to build the pecl ext:
<10> The pfpro extension requires version 2 or 3 of the SDK
<7> characters are the bits that make up a string
<7> i think then that all strings are arrays of characters
<11> MrNaz: php looks a string as an array of charactars
<2> guru__ well everything is an array
<2> as i said
<6> MrNaz: arrays aren't philosophical. ask any mathematician
<11> yes if you have $t = "yes" then $t[0]="y" and so on
<0> guru: *all* languages do...
<2> but the name "array" is used to conceptually separate those variables that are effectively collections of related variables
<8> MrNaz: If you said that everything is an array, why string is not an array of characters?
<10> anyone that can help me with this pfpro issue?
<2> tws oh ffs
<2> i said strings are NOT an array, because by that way of thinking theres no distinction between arrays and anything else
<2> nvm
<7> lol
<7> integers arent arrays :P
<2> jiggster yes they are
<2> they are arrays of bits
<0> booleans aren't arrays either
<2> yes they are
<12> lol
<0> They are?
<2> they are single item arrays of bits
<7> *sigh*
<4> what's the diffrence between "\n" and '\n' ??
<8> MrNaz: Yourself is an array. Head, rotten brain, lung, etc.
<7> you are getting lost in the depths of what simple isnt the case
<0> 'nuff trolling
<7> simply*
<13> wow, heights of stupidty
<0> !tell DavidHKMrPowers about quotes



<14> DavidHKMrPowers: '\n' wil print '\n' to the screen where "\n" will give you a carriage return :)
<12> tws, "\n" is the *single* char "newline" .. while '\n' is the string made by 2 chars "\" and "n"
<6> \n is not a carriage return
<14> eh
<14> newline
<14> then
<12> it is newline indeed
<8> [AlberT]: Me?
<14> deadroot: you're right :)
<12> tws, I mean DavidHKMrPowers .. sorry
<0> !+nl
<15> Newlines are hidden (not normally visible) control characters that distinguish the end-of-a-line of text and are different for each platform as follows: [Windows=\r\n] [*nix=\n] [Mac=\r] And can be seen as: [LF (linefeed) = \n, 10d, 0x0A, 0001010b] [CR (carriage return) = \r, 13d, 0x0D, 0001101b]
<14> common typo
<4> Thanks, guys.
<8> Dinner time. Later all.
<12> dinner .. wow :-)
<14> ghe
<14> breakfast
<14> later all
<12> breakfast time for me :-D
<14> :)
<16> :)
<7> bed time for me
<7> 2:39 AM
<7> but, i have a beer and some chips
<16> uh
<16> indonesia :]
<7> so... the night is young
<14> 10:37 AM
<0> ew.
<7> thats not at all healthy
<7> do you know how much sugar that is?
<12> JoshX, your clock is 2 mins late :-)
<7> *me feels ill*
<14> Stormchaser: you want some 'Goat"MILK"' ?
<11> drinking coke 1 ltr everyday will dissolve all your bones
<0> guru__: No, it won't
<10> can anyone help me with pfpro? PUHLEAZE?! it would be oh so kind. if not, oh well.
<7> lol
<14> 1 Feb 10:40:36 ntpdate[27885]: adjust time server 212.79.246.3 offset -0.052648 sec
<14> is not
<11> after some period of time
<7> guru__: wrong... :P
<4> guru__ : really? i've done that for more than 3 months
<11> if you take it continuously
<14> ah ok
<14> [AlberT]: i see where i went wrong :)
<11> ok
<12> :-)
<7> i win
<7> 1 Feb 02:41:17 ntpdate[4345]: step time server 136.159.2.2 offset -0.043939 sec
<7> smallest diff so far
<0> guru: Um... liquid that you drink and bones aren't connected to eachother
<14> :(
<4> guru__ : :)
<14> jiggster: i ntpsync every 5 minutes
<14> jiggster: VMware virtual machine has a TERRIBLE clock problem
<7> JoshX: i couldnt tell you when this thing crons
<14> jiggster: like 12 minutes/hour or so
<7> i know one of my gentoo boxes is terrible for time skew
<7> and it's not on VM :P
<14> hehe
<7> hmm i havent checked it
<14> anyway
<7> oh well not a priority right now
<14> shower and breakfast
<14> later
<7> ttyl
<17> Hi, anyone knows if I can use "windows integrated authentication" with php 4 and iis 6? I am having aleatory problems using it...
<7> dear lord
<7> 1 Feb 02:46:43 ntpdate[2349]: step time server 136.159.2.2 offset -43.307603 sec


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#oe
python file seek SEEK_END
#perl
sdl limit frame rate +sdl_delay
#perl
#suse
x226 debugging
#mysql
servermgr_dns: Bad zone file for zone
compiz Speicherzugriffsfehler



Home  |  disclaimer  |  contact  |  submit quotes