| |
| |
| |
|
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> adding goto right :X <1> Ah, GOTO. <1> Also, LBL maybe. <2> draakje__: goto has been shutdown. goto has already been written for PHP. Pollita wrote the patch, but it wasn't implemented. <3> how about overloading <3> that'd be nice <3> and some strict type checking <4> bah, my bug got marked as bogus >:( <2> roaet: Pollita has also written an operator overloading extension. It's called operator, I believe, in PECL <3> well I'm more or less talking about function overloading. <3> not just operator overloading, but that's pretty hot too. <0> i want to be able to replace the OOP related crap :P <0> with my own implementation :P <0> oh well, mainly using Chrome now anyways ;) <3> chrome... <0> http://www.chromesville.com/ :)
<3> I want PHP to be like ASP!!! <3> </sarcasm> <4> oh my <0> http://www.chromesville.com/page.asp?id={7494E57F-73F9-47DE-83CB-B67CB74AF646} :X <0> gone though <2> Heh <0> back to symbian programming ;-) yeah \o/ <2> ASP is ... so ugly. <3> i don't like those.. curly.. things and those comma/periods <3> i prefer lines! <3> LINES! <2> %w(roat is dumb).each { |w| puts w } :) <3> heh <2> roaet? Yeah... typo... :P <2> Periods and curly braces... except in a pretty/logical way. Yum <3> periods and comma+periods <3> doh <3> curly things and comma+periods <2> What ya mean? <3> semicolons. <2> Ah <2> roaet: You must be a Python guy :) <3> I'm being sarcastic <2> :P <3> braces and semicolons are great. <3> In comparison to ASP <3> LINES <5> !+enter <6> Don't use the enter key as puncuation. Think in complete thoughts, then type. <2> roaet: Oh, okay you're traditional then <3> The enter key was being used to denote stresses on certain lines. <7> fags <3> that was quite fast. <3> So fast you gave him whiplash. <5> Aren't you supposed to be a frog? <3> You'll be hearing from his laywer soon. <3> I'm a talking frog. <5> ah <8> haha <3> Why is it i'm finding that most of the things I could write in C I can write so much faster in php? <5> scripting languages tend to do that :) <9> roaet, because you don't know perl :) <3> I know a bit of perl though. <9> pelr is even faster <9> perl <9> python is also cool <9> php is the worse of these three <2> roaet: Because PHP is based on C's syntax, without the memory allocating and has loose types to deal with? <3> Quite the coward! <3> He ran! <2> Heh <2> ...Clearlooks-QuickSilver looks... awesome :P <3> So this is my situation.
<3> I want OpenGL to render to a surface at about 30 FPS or more through PHP. Then I will take this surface and render it as a JPG or whatnot in a browser. Maybe even through a flash thingie. Then, through the PHP, I will use AJAX to send realtime streaming data from User input. what can I do? <10> Are there "magic functions" in php 4? <5> yOz: What 'magic functions? <10> Stormchaser, __call for instance <5> yOz: no, PHP4 doesn't have that <10> Stormchaser, none of any kind, that I can use for function overloading in a cl*** in any way? <2> __call() doesn't overload. <5> yOz: you can't do it in 4 <10> kuja, "can use for function overloading" <2> To my understanding __call() is for catching missing methods. <2> Guess not. <2> I wouldn't considering "missing methods" as overloading. <10> kuja, you _could_ use __call for that. <10> __call is a generic function call language construction. It's up to you what you want to do with it. <2> Uh, are you saying that __call() is a language construct?... um. <2> Stormchaser: Spit it, is this TRUE? <5> nope :) <2> That's what I thought. <2> That'd be insane. <10> How so? __call() is called for every function call... <2> yOz: Doesn't mean it's a construct. <2> It will just detect if the cl*** responds to the magic method __call(), and p*** it args. <2> There's nothing special about it that requires it to be a language construct. <10> Why not? It's a function calling construction in the php language (as opposed to constructor). <3> No one have any idea about my problem? <2> yOz: It is not a *language construct*. <10> Hmm <2> empty, list, isset, echo, print, for, foreach, if, elseif, else (and what else I may be missing) are language constructs. <2> while <2> ...but you get the idea. <2> yOz: __call() is a method, as it says, a magic method. <10> The way I understand it, __call() is the generic construct handling calls for these functions (empty, list, isset...). <10> You're probably right. <2> ... <2> __call() is not generic anything. <2> As long as you understand it, I suppose there's nothing stopping you from what you want to call it. <0> PHP is just one big hack :P <5> it is? <0> they should just rewrite it from the starts :+ <5> from what? <2> A hack of...? <2> The original Perl scripts, I presume. <2> Well, no. <5> haha <2> PHP was completely rewritten. <11> const C_HIMG_RESOURCE = imagecreatefrompng(C_AURL_MAIN . C_SDIR_IMAGES . C_FILE_IMGHEAD); <0> the OOP part of PHP <2> When ZE1 was introduced in PHP3. <11> That code'll work, right? <5> no <2> [Karlprof]: No <11> Dang. <12> does one often make crojobs in php? <5> eml: If needed... but I prefer to do it in Python <3> no one can help me! how sad! <13> could anyone point me in the way of a function or code snippet that generates full urls from relative ones? like p*** it the current url, adn a link like '../newsite.html', and have it generate the full url? <11> ... <11> Stormchaser? <11> That's a fairly common name, I expect, but... are you the Stormchaser from GamesRadar? <12> okay, well I'm looking for a way to make a cronjob, anyone got a good guide for it in php? <5> karl: I hope not <11> Oh. <12> or are they just built with sleep(n); command() ? <2> eml: A cronjob is a cronjob. Google. It's got nothing to do with PHP. <12> kuja, well, on this server I don't have any access for a cronjobd (vixie cron) in this case, so I was looking for an alternate way <2> Uh, so you're saying you're going to make a daemon out of PHP? You're quite insane. <14> to make a string parameter in a function optional one uses: function($str=''); What is the best way to make an integer parameter optional? <11> $C_HIMG_RESOURCE = imagecreatefrompng( C_AURL_MAIN . C_SDIR_IMAGES . C_FILE_IMGHEAD ); <11> $C_HIMG_TEMPWIDTH = imagesx( $C_HIMG_RESOURCE ); <11> define( "C_HIMG_WIDTH" , $C_HIMG_TEMPWIDTH ); <11> Will that code work? <12> kuja, uh, no?
Return to
#php or Go to some related
logs:
ieee-734 float Compat.pm line 200 Module::Build malformed url kubuntu #debian #kde ubuntu xorg.conf stealth pi 100000000000000000000000 #oe #bash #php
|
|