Groups | Search | Server Info | Login | Register
Groups > alt.comp.lang.php > #123
| Newsgroups | alt.comp.lang.php |
|---|---|
| Date | 2023-04-01 01:23 -0700 |
| References | <CC711B51.C3D2%bint@ign.com> <k2gcqb$m65$1@dont-email.me> <CC7125B7.C3D5%bint@ign.com> <k2gfla$5ct$1@dont-email.me> |
| Message-ID | <636a7197-aee5-4597-b08e-be3cdad258a2n@googlegroups.com> (permalink) |
| Subject | Re: This is why I hate PHP |
| From | V <vvvvvvvvvvvvvvvvvvvv11111@mail.ee> |
You seen this: https://youtu.be/IPXIgEAGe4U ? On Sunday, September 9, 2012 at 12:08:11 AM UTC+2, Jonathan N. Little wrote: > Bint wrote: > > I don't know man, I didn't change anything else. If I pass $F['mapx'] as an > > argument to imagecopyresized, even if I've explicitly set it to type > > integer, it does not seem to get the value. I had to use an intermediate > > variable to get it to work. You say it must be something else, but if that > > is the only thing I changed what else could it be? > What happens when you use intval() instead where it doesn't change > $F['mapx'] but just the return value of the function: > > $myBool = imagecopyresized( $tim, $im, 0, 0, intval$F['mapx']), > intval($F['mapy']), 256, 192, $Fwidth, $Fheight); > -- > Take care, > > Jonathan > ------------------- > LITTLE WORKS STUDIO > http://www.LittleWorksStudio.com
Back to alt.comp.lang.php | Previous | Next | Find similar
Re: This is why I hate PHP V <vvvvvvvvvvvvvvvvvvvv11111@mail.ee> - 2023-04-01 01:23 -0700
csiph-web