@# 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 30 31 32 33 34 35



Comments:

<0> what a dumb ****
<1> Yay for oppositional defiance disorder!
<2> maybe a stupid question, but if you have 4 cl***es with as private datamember $bla , can you use $bla as private datamember in those 4 cl***es?
<3> Aap: each cl*** has its own scope
<4> Which language would be best to learn if you had to pick between Ruby and Python?
<5> cynic: ask in #ruby or #python
<4> Good idea.
<2> so the answer is yes?
<6> cynic, python's syntax can be manipulated less with. maybe that's an incentive to start off with that.
<6> cynic, but since you're here, why don't you start off with php? ;-)
<5> simon: maybe we can just not start language holy wars here, which is what this will lead to.
<6> caffinated, right.
<4> I know a nice bit of php already. I could learn more, though.
<4> caffinated. Indeed.
<5> best thing to do is try them all, and find what works best for you
<5> there is no 'right' answer to that question.



<6> cynic, both ruby and python have good access to graphic libraries.
<2> maybe a stupid question, but if you have 4 cl***es with as private datamember $bla , can you use $bla as private datamember in those 4 cl***es? yes or no?
<3> i tried python once, wasn't hard to learn. in processes of trying ruby now, but time is short
<5> Aap: you were already answered. read the answer.
<6> Aap, did you read the answer that was given to you?
<6> Aap, if not, why bother asking?
<2> yes
<2> so the answer is YES
<5> the answer is as ||cw put it. each cl*** has it's own scope.
<6> the answer was no...
<7> no, the answer is TRY IT
<3> Aap: "if I have a banana in bowl, and I use a banana in a bowl?"
<6> ||cw, that's a very odd bananalogy.
<2> you don't have no banana anymore
<3> Aap: now, other than banana's instead of $blah, and bowls instead of cl***es, how is my question different than yours?
<3> and does either really make much sense?
<2> well, you can make it difficult man
<8> You can make it difficult for yourself too
<2> but i try
<3> Aap: if you didn't get the answer you were looking, reword the question
<2> hey so to bother guys
<2> sorry
<3> (this is a skill i
<2> i didn't know there were word games here
<3> m trying, and not terribly succeeding, to teach my 11 year old sone
<3> )
<5> Aap: it's no bother, just the answer was given to you already. if you don't understand the answer, say so.
<3> Aap: it's not games, it's a matter of expressing yourself in a way that other people can give usefull feedback
<2> i guess i did it with "so the answer is yes"...
<3> it might make sence to you, but you have to allow the possibility that it won't to someone else
<2> okok
<9> kk. emergency. I've just put a new version of a site live and because of PHP version differences, it is broken
<9> how in PHP 4 do you ***ign a default value to a value p***ed by reference?
<10> Then it was probably broken to begin with
<9> ie: function foo(&$bar = NULL);
<5> stestagg: a value p***ed by reference should never have a default value.
<4> I think I'll go with Ruby for now.
<9> It works in PHP 5.
<5> stestagg: in that example, foo() should already have a variable p***ed to it.
<9> caffinated: How would you make such a variable optional?
<5> you wouldn't if it's being referenced.
<9> caffinated: <repeats stubbornly>..but it works in 5
<5> ok, since you have it all figured out, i'll leave you to it.
<9> balls. Any ideas on a workaround
<9> so how do the builtin function do it??
<9> caffinated: I really don't... Any suggestions?
<3> stestagg: if that works in 5 then you have some level of error reporting that is not good for developement and it's simply ignoring your error
<9> ah. ok. ty...So is it possible to make variables p***ed by reference optional?
<3> not legaly
<8> Set it as a property of the object? $foo->myref = &blah; ... function foo() { if ($this->myref) { ... } }
<3> in your case ignoring the error has the desired effect because you want NULL, but if you wanted "no" or some real value it will not work
<11> i would like to know what are the good editors and development enviroment that professional web developers normally use
<9> ||cw: It did work when I p***ed it an empty array to fill.
<3> stestagg: and empty array is still an array
<9> yeah but the snip above was the function declaration
<9> not the call
<3> kenroy__: depends on what you mean by professional
<5> !tell kenroy__ about editors
<3> stestagg: try it with a string value
<12> ([\w\.\/]*)? <-- this means optional multiple word char . or / right?



<5> no editor arguments here, unless you're expressing your hatred of vim ;) (kidding)
<11> say people who design myphpadmin
<11> etc..
<10> Can I express my hatred of both vim and emacs?
<3> kenroy__: those are hobbiest
<9> ||cw: I think I'll have to write 2 functions. Thanks.
<3> Dragnslcr: na, it's implied
<5> Dragnslcr: as much as I'd get in on that, I'd just avoid it
<8> lra_: * is '0 or more', php.net/pcre
<11> i have use visual studio 2005 to code a web based customer management application
<8> in ASP.NET?
<3> kenroy__: sometimes "professional" coders simply get told what to use, on a reasonably locked down pc. other times it's totaly personal preference. that's why there's so many editors out there
<12> oh - so i wouldn't need to put it inside brackets?
<11> ok
<11> i used asp.net and it is pretty good except that IIS is a piece of crap
<8> lra_: [] or ()? The [] you need really, the () is up to you. Read what they both do
<12> i'm trying to put together a pattern to detect whether a page has a link to a particular site
<12> this is what i have so far:
<12> '#<a[\s\w=\"\']*href=[\"|\']?http:\/\/(www.)?'.$recip.'[\w\.\/]*[\"|\']?#i';
<11> in php when i do $x=new mycl***(). is the variable $x a reference
<12> it used to work, but i've done something and broken it :(
<10> kenroy__- in PHP5, yes, objects are always p***ed by reference
<11> ok
<11> Dangermouse:are you a professional web developer
<8> kenroy__: nope :-)
<8> I don't really like web development. I can tolerate backend stuff but i hate design. I use it only when i need to
<11> oh ok
<11> same here
<11> the backend is very exciting
<6> same here.
<8> I think designing is more fun, but I have no design/art skills whatsoever.
<12> how do you match a full stop in a pcre pattern? \. ?
<11> oh ok
<10> Yup
<8> lra_: ye
<12> dm - i think dev can be as exciting
<12> it's art in a way
<6> in a boring, computer scientist kind of way.
<11> i know this is a php channel and this is my first web designed application.how do you guys rate it.
<11> http://kenalex.ath.cx/inet22/login.aspx
<13> Hello
<13> Does anybody know a flawless rss parser cl*** ?
<6> kenroy__, connection timed out.
<11> simon:try it again
<12> still time out
<6> kenroy__, nay.
<11> try it again
<11> it should work now
<11> did it load
<7> aspx pahes in PHP channel? Huh?
<11> simon:did it load
<7> *pages
<14> yo all
<11> Stormchaser:sorry, i just wanted to know how you guys thought how my first web app
<7> kenroy__: If it's not relatedf to PHP, then don't show it here :P
<11> ok
<8> especially if its asp related :P
<8> whoops *Microsoft related
<11> well i am trying to gett it ported to php
<14> hmm, anyone here know SOAP? http://news.php.net/php.soap/2145
<11> thats why i am here
<7> eek! SOAP!
<14> Storm, I know ;_;
<15> Would you say programming it ia better or worse than eating it?
<7> worse
<11> programming is cool
<15> Good thing I set USE="-soap" on my Gentoo box then.
<7> deitarion: There is nothing fundamentaly wrong, if you have it as a module :P
<15> Stormchaser: Yeah, but this way I don't compile something I'm going to hate anyway.
<15> Besides, from what I've read, I'd be much more likely to use XML-RPC if I needed something like that.
<14> but anyway - looking for someone who knows this stuff :(
<16> when using PHP5's __set object inside a cl***, is there a way to tell if it was =, .=, +=, -=, etc?
<14> no-one seems to know anything about SOAP & PHP :/


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#css
Lebenworth
#web
BUILD FAILED! m-a -t build ipw2200
#lisp
#python
gnomesharp_gnome_moduleinfo_get_name_offset ()
#suse
#gentoo
#css



Home  |  disclaimer  |  contact  |  submit quotes