@# 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



Comments:

<0> its a matter of work volume
<1> Ugh, I did def __add($other), instead of function __add($other)
<1> I think I'm completely switched to Ruby now :P
<2> roffle ruby
<1> Anyhow, __add() works
<0> im going to write a preg parser parse
<3> did that faggot just say roffle
<1> da-drew: roffles
<1> :P
<2> batphone: check perl 5.8 source
<4> roofles
<2> seriously, who says "ROFL"? it's "roffle"
<2> anyhow, isn't the dollar sign in ruby only for things like $*?
<0> that would serve my purposes
<0> .... ok
<0> put AMI output into a daily email to the mayor of Houston, Texas in beaurocrat-readable form



<0> im gonna have to invent my own cl***
<0> bcrat->normal_person
<5> hahaha
<6> kuja: heh... yeah the tests/ directory confirm the __op thing
<7> <9> that's true but when I use many included files in the same html page or PHP one how I'll manage each one parameters ! I will have a very long URL address or I will use sessions... Could it be changed with javascript Fe as include.url = "....." ?
<2> E_ERROR: cannot convert between objects of type "sapien" and "beaurocrat"
<2> er, beaurocratus
<0> JVz: try #DEFINE SubHumanParasiticScum = 1
<7> could I change the include url with javascript for a file ?
<8> Is there anything like DOMXPath for PHP 4?
<2> cl*** beaurocrat extends homo implements douche, slow, inefficient, ...
<2> grom358: did you check PEAR?
<9> cl*** Bureaucrat : Homo, Douche, Slow, Inefficient.
<2> now now, no C++ kthx
<10> grom358, isn't DOMXML in PHP 4?
<2> how do you spell beaurocrat? I'm probably wrong
<8> grom358: Yeah got DOMXML installed
<2> anyhow
<9> Bureaucrat.
<1> http://rafb.net/paste/results/gGBl5I60.html -- PHP with operator overloading makes PHP worth using :)
<2> cl*** bcrat < homo
<8> but no DOMXPath cl***
<0> FART
<8> trying to backport a library from PHP 5 to PHP 4 (sigh, it ****s but must run on CentOS which is still officially using PHP 4)
<6> kuja: oh the dreaded String cl*** ;)
<10> http://php.net/domxml
<2> aw, how can operator be helpful if you can't just overload arbitrary operators like C++ streams?
<1> zircu: Hey, I think it could get better :)
<10> grom358, ^^
<11> how do you determine if an include() succeeded or failed?
<1> Just tack on some more methods and you've got objectified strings
<0> man they sell this organic milk at the store for 2.25 a quart
<0> i drink one a day...
<2> kuja: now you need to define the __equals() or whatever to make the strings work more naturally
<6> kuja: just for kicks.. how does echo 'foo ' . $str * 5 . ' bar'; work?
<2> litage: it will err with E_WARNING IIRC
<1> zircu: Like it should
<2> zircu: probably translates to echo 'foo ' . $str->__mul(5) . ' bar';
<12> bonjour
<2> try #php-fr
<2> ;p
<12> eheh
<0> o0o0og mah belley
<2> litage: and if require fails, you get E_ERROR
<2> anyhow, back to the C API: how do you use exceptions in extensions?
<6> kuja: hmmm.. and 'foo ' . $str . 'bar'; works as well?
<2> I think I remember seeing a THROW() and CATCH() macro
<2> and TRY() and whatnot
<1> zircu: Sure
<1> zircu: $str->__toString() kicks in
<2> zircu: probably not unless operator fixed that
<2> since normal php5 doesn't know to do that
<6> kuja: what version of php?
<1> 5.1.2
<2> 7.0.0.alpha1
<6> JVz: yeah that is what i'm trying to get at... was this issue fixed
<2> can PHP beat IE in version numbering?
<2> actually, nevermind, IE is rarely updated, forget I asked
<1> Version numbers are merely, as they are, just numbers :)
<6> php is more upto date than ie is
<9> Slackware skipped a few.



<1> Python's been around for 10+ years, still only at 2.5 or so :)
<2> yes, but the farther PHP goes from 4.x, the less viable PHP programming becomes due to hosts sticking to the ancient 4.x
<6> ie6 was last worked on, what 97? or so?
<2> Python's at 2.4 on my box
<2> zircu: sounds about right
<1> JVz: Latest stable is 2.4.x, sure :)
<2> ie7 won't even be a "10th year anniversary of no development" edition either
<2> DNF will come out before IE supports web standards
<2> and I'm serious about that
<13> PHP 4 ancent? I just upgraded to it!!!!
<2> qumqats: Debian?
<11> JVz: i noticed that with "$inc = include("asdf.php");" $inc has a value of "1" if the include succeeds, and has a null/zero value if it failes
<8> $xpath->query('//office:meta')->item(0) .. what would this be with PHP 4 API?
<1> while (list($key, $value) = each($array)) { /* CHECK OUT MY COOL PHP3 FOREACH! */ } :)
<2> litage: probably because most functions in PHP that don't return anything (theoretically) return true or false
<13> fbsd
<8> so far I got $xpath->xpath_eval('//office:meta'); to get query object
<10> heh, the zend certification for php still only on version 4
<6> litage: var_dump(include(..)) it will be true or false.. unless the include returns something else
<11> JVz: so include() doesn't really return 1?
<1> I think I'll start learning RoR or something, try to move to Japan, and make big money!! :P
<11> JVz: i'd just like to be able to determine whether or not the include() succeeded or failed
<1> Or... not :)
<6> litage: if (include()) .. will work
<2> litage: you just do what you did
<11> zircu: would this be "more correct" or better?: if (include(...) === 1)
<2> there's no such thing as a void return function in PHP
<2> just null typically
<13> oh wait, its mysql I just upgraded to 4.0 PHP is whatever the latest version of the original install was.
<6> litage: is it really a 1? check a var_dump() on the include
<6> litage: echo true; echo false;
<13> the idea is why upgrade if it ain't broken you risk breaking something otherwise
<6> 1:
<2> zircu: I'd ***ume it's really from a RETURN_TRUE, so it's probably a not-zend_bool-ised bool
<2> (when it's printed)
<2> qumqats: do people still use GCC 2.95 or whatever?
<6> printed vs what it really is is a different story, that is why i suggest var_dump(), if var_dump says TRUE, then a include() === 1 will not work
<13> somewhere, someone is still using that
<10> qumqats, its all about what features you want to take advantage of, im all over php 5 cuz of the OOP and the XML stuffs
<11> zircu: when include() succeeds, var_dump() says "int(1)". when include() fails, var_dump() says "bool(false)"
<6> litage: then your === 1 will work, but that is just making more work, for clarity i can see using ===
<13> so for you, php 5 has features you need and are willing to do the upgrade. others, without that need, may not be willing to risk something breaking on a long running server.
<2> breaking broken code sounds like funj
<10> exactly
<2> php5 has tons of security and performance enhancements
<8> $this->root = $xpath->query('//office:meta')->item(0) ; how should I replace the item(0) part with PHP 4 API?
<10> it's also not as stable as 4
<2> people still using php4 are either running Debian Stable or are seriously lazy
<10> well maybe 5.0 branch is
<10> 5.1.x is still chugging along
<10> JVz, slackware stable as well
<11> thanks zircu
<13> if it ain't broke don't fix/upgrade it!
<2> but it is broke
<2> ever try to use php4 oop?
<8> JVz : CentOS is still using PHP 4 as its official package
<10> they have php 5 as an optional package in the testing package folder
<8> And using stock CentOS for servers
<10> no, I haven't
<2> seriously, the mentality that php5 is unstable and php4 is stable pisses people like me off
<10> it gives me a headache with p***ing things by reference and what not
<2> who are essentially forced into maintaining legacy code so that it works with php4
<8> JVz : it pisses me off too..
<10> thats the main problem i have with pear packages now
<8> JVz: I wish CentOS would just make php5 into its official stable release
<2> it's like being forced to use the original K&R C syntax
<10> their oop is so messed up cuz of php 4 compatibility
<13> when something I'm running or want to run REQUIRES php5, AND ALL php packages I'm running support PHP5, . . . THEN I'll upgrade
<2> although the original 9899:1989 (might have gotten the # wrong) standard is like 17 years old now
<6> so lets see.. a sysadmin upgrades his system.. oh look there it upgrades to php5.. support hell
<2> well, let's see
<2> if a PHP4 script doesn't work in PHP5...
<10> yeah its broken anyhow
<2> there must have been some serious ****ed up **** going on in those scripts


Name:

Comments:

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






Return to #php
or
Go to some related logs:

how do i ping my router?
python instance-as-parameter
Runtime error 230 at 08062D1D
VTC tutuorials
#gentoo
better than dmesg
python execv spaces
midnightoker
fedora vmnet device udev problem
#perl



Home  |  disclaimer  |  contact  |  submit quotes