« first day (1684 days earlier)      last day (3261 days later) » 

3:00 PM
@RonniSkansing try copying and pasting a 30-line PHP script into hipchat
and you'll run headfirst into my biggest pet peeve with it
the index.php for any popular framework will do ;)
 
@Danack I hope it won't be a thing, but it's already reserved
 
What do you guys think in adding method as an alias for functions, for classes?
 
There's only one valid use of the object keyword I am aware of, which is something like:
 
function (string $method) {
    return function(object $context, $param) use($method) {
        $context->$method($param);
        return $context;
    };
}
 
3:04 PM
@LeviMorrison requires more Closure::bind()
just because
 
It's just really rare to be able to have a meaningful operation that works for any object.
 
it's even rarer for it to be the result of a good design decision
 
I've never been a fan of the name stdClass, but it's better than php_user_filter, lol
 
^^
var_dump((object) []); // class Object#1 (0) { }
 
@DanLugg so, add a static __castFrom($value) magic method, then call it on incompatible cast (if it exists)
 
3:18 PM
@ircmaxell Hmm? I'm just referring to the name stdClass -> Object
 
@Ocramius Think it'd ever be possible to implement a step back sort of thing? State would have to be saved at each point...
 
it would not make sense
what's the point of debugging then?
 
I mean, you step forward one too far, and missed it doing it's stuff, so you can step back, re-debug
If you're doing behat tests, hit the back button then step back and continue
 
@Jimbo it would already have executed something
 
visual studio has some support for time-travel debugging (intellitrace)
would be cool to have something like that for PHP however
 
3:28 PM
Yeah, it can be useful, but it's too dangerous to be useful, IMO
 
also, edit and continue
 
@DanLugg oh. No that ship has likely sailed
 
what's the origin behind "stdClass" anyway? seems like an unusual pick
... and suddenly i realise that question has a one-word answer
beer
 
@JoeriSebrechts It's a Ballmer Peak
 
they were so drunk they had the graph upside down
stdClass, where you learn about std's
 
3:42 PM
@ircmaxell Very much aware, just speculating an alternate universe in which people don't name things fucky.
PHP's built-in webserver; any way to get it to dump full incoming requests?
 
@DanLugg var_dump('php://stdin'); Not sure it'll work like that but worth a shot
 
Nah, no go.
 
0
Q: Display TinyMCE WYSIWYG editor dynamically

BigRabbitI have a drop down list that when a selection is made will display a form, within this form I have textareas that I wish to be TinyMCE textareas. I know that because I am adding elements to the DOM after the page has loaded that I need to initialize TinyMCE in order to capture these elements. ...

 
4:06 PM
@Ocramius Exactly, so.. storing the state of all the things on each step means that the thing that was executed could be 'rolled back'. I don't know, perhaps I'm just going mental
 
You're going mental
you'd have to make dumps of the entire memory at any stop
 
Cloud-based RAM.
 
Only of the delta. Unlimited undo isn't particularly hard if you implement all state changes in a way that you keep track of the delta.
But the catch is you would have to keep track of the delta not just in PHP but also in all external libraries
 
posted on May 27, 2015 by kbironneau

/* by Jeffrey Sweeney */

2
 
@Jimbo old idea
 
@Jimbo not in this decade
it's something you could see around 2028
 
Not enough infrastructure?
 
Can someone explain why the first one is true?
 
@Jimbo DDR5 is rated ~4Gbps, so, yeah
 
4:44 PM
@ziGi Because 3v4l.org/F4UfB
 
@Rangad That just reverses it, so I guess he's asking... "Why does (int)'string' give zero" :P
 
@ziGi Ah, found the manual page I was looking for: il.php.net/manual/en/…
 
anyway, @Jimbo, I honestly doubt we will see distributed RAM even by that time. Though we will definitely have distributed "had disk"
whether RAM will be distributed too depends on whether RAM and permanent storage gets unified before that
and at current pace we will only see the unification of vRAM and normal RAM by 2020
 
5:14 PM
Plan9 implemented distributed everything back in the early 90's. The latency is what makes it not so useful, and unless someone invents ftl that's not going to change.
 
My perpetual wallpaper :-D
 
So did Rob Pike just draw both the Plan 9 and Go mascots or something?
Ah, no, it was his wife.
 
^^
 
Learn something new every day!
Even if that something is entirely useless trivia.
 
5:31 PM
blah
 
halb
 
 Member for 5 years
 11,209 profile views
 Last seen 8 secs ago
 visited 1840 days, 1837 consecutive
 
5:53 PM
@ircmaxell It seems PNWPHP 2015 still hasn't announce all speakers.
I know they've done user groups in the past and this is stretching their comforts to do an actual conference but it seems particularly tardy.
 
@LeviMorrison that's fairly common
 
@DanLugg that looks suspiciously like Plan9 mascot
oh, wait, you have been talking about plan9
 
glenda is my favorite mascot, of anything ever
 
@ircmaxell Maybe I'm just accustomed to mega conferences like Supercomputing.
 
6:12 PM
yeah, but send the organizers an email if you want ;-)
 
i'm not sure i'd want a PHP conference to be super-organized. wouldn't feel "PHP" enough to me
 
@JoeriSebrechts If PHP conferences were run like Internals you'd have half the attendees arrested for assault before the first day was over
 
and the other half would only show up one out of every 10 conferences, and expect a speaker slot when they do
 
one out of 10?
 
admittedly i'm not on internals, but what i've read of it there seemed to be two kinds of people there: the ones who dress for war, and the ones who rarely show up
 
6:19 PM
@tereško Glenda in space :-P
 
maybe my reading of it is too shallow though, but i did read enough to know that it is not for me
 
Anonymous
@tereško Does scrutinizer has any doc on how it measures code quality? like a psr guide ...?
 
no
but it has an "issues list" in the interface
 
The quality is mainly based on the CLOC
that's all there is
 
.. actually it isnt
 
6:24 PM
the relevant part are all the issues/bugs it finds
 
Anonymous
I just want to check before submitting a repo
 
Anonymous
@Ocramius link?
 
@samaYo no link, just loads of working to get it cleaned up
 
cyclomatic complexity is not the only criteria that scrutinizer uses, @Ocramius
 
@tereško at least for the score, IIRC, it is
maybe some CS stuff, but the score itself is not even config-dependant or stuff like that
 
Anonymous
6:26 PM
last time it said my code qulity was like 30-50 I just checked the dashboard which was too jibrish tbh
 
I wonder why is PHP RFC how-to process on Oracle's website: blogs.oracle.com/opal/entry/the_mysterious_php_rfc_process
 
max is 10
 
@samaYo what score are you looking at? link?
 
.. and I see our Haskell troll is back .. with a new picture and new name .. odd that
 
Anonymous
removed it, it was about a year ago ..
 
6:29 PM
Teresko, I'm not a troll.
And I'm here the whole day, today and yesterday.
I'm not that bad.
 
Hello, I made a custom importer for wordpress and is adding 2 times the same post from an array where are 10.000 unique posts to import. How can this be posible?
 
@FranciscI.B bug in custom importer
 
the import is working fine on local
 
or you are not seeing the same errors on local? are you using exactly the same data and etc?
 
yes
can be something with mysql settings?
 
6:32 PM
dont think so. step through your script and find the error
 
@RonniSkansing good idea. thx for your help and hints
 
no problem
 
@ircmaxell Has there been any discussion of encrypting session data by default? Basically encrypting the /tmp/sess_* files?
 
You probably hate me.
 
6:56 PM
Are there any developers on here that have used Betfairs API
 
@marcio, I've just started to write the formal specification of the pp with a sample example: gist.github.com/haskellcamargo/36f65b7fe5a794b443f4
 
@MarceloCamargo just compile php7 or you won't be able to tun any code I give you :P
 
Ah, that's true. I'm on job. When I get in home, I'm gonna do it.
https://github.com/harbour/core/blob/master/src/pp/hbpp.c

Harbours pp implementation is quite simple, although powerful.
 
yea, won't be too hard :)
people, does Travis CI has some concurrent?
 
7:03 PM
Maybe Jenkins.
 
@FlorianMargaine thanks :)
 
@MarceloCamargo you have to host it yourself... that's not a competitor
@marcio yw. I used to do the same mistake, and it's easier to find on google with this word.
 
indeed, concurrent spills bad results.
 
guided me i want to make a mangment system for organization what type of feature of Organization managment system have also API for face recogniation in PHP?
 
face recognition in php?
you can find something like that via abit of searching
 
7:11 PM
yeah is it possible in PHP?? like taking attendence using face recognition (Thumb impression type stuff)
 
possible? sure
 
@MarcelBurkhard sorry for bad communication skill i mean is it possible or not? I Just ask?
 
@SajjadKhan yes it is possible
I would however try to get a hosting where you could run native applications and use C++ or the like for that..
 
Take a look on OpenCV, Sajjad.
 
@MarceloCamargo openCv support PHP?
 
7:24 PM
Well... https://github.com/mgdm/OpenCV-for-PHP

First link on Google.
 
@MarceloCamargo Thank you one more Question what is the purpose of Github? I know it is childes Question but i'm very new so please Guide me?
 
@SajjadKhan Github is one of many sites that let you host open source code free of cost.
 
@MarceloCamargo %{ #ignore (@) /*ignore shut up operator*/ }% this seems to be a legit use case
 
Thank you @Charles
 
; as a comment entry point is bad, PHP has too many ways to comment code already
 
7:31 PM
Ah, I see. Maybe we can remove "#" from define, token, translate and set it as comment token.
Ah, I mean, /* */
 
agreed
 
I'm using { } to the replacement of the macro to avoid using tokens to breakline and differ the declarations, such as Harbour does.
Harbour's parser works line-per-line, using ";" to continue a statement/expr.
 
definition = define | ignore | token | translate;
I just found out that zsh's which is not the same as bash's which... WHY they do that to us
 
politics and infighting, probably
@SammyK is the session encryption meant to protect people in shared hosting environments?
 
@ScottArciszewski Yes and an attacker that gets into the system or is able to access the temp files
 
7:44 PM
@SammyK with what key?
 
What's to stop an attacker from reading the PHP script that facilitates decryption with that level of access?
 
@ircmaxell Not sure - one that gets generated when you install? :) Don't know if that's possible
 
also, in my experience, most hosting companies were usually late to patch kernel or hypervisor bugs for fear of downtime ;)
 
@ScottArciszewski They could do that. But if they found an exploit that just gave them the temp files, it'd all be encrypted
 
getting root isn't usually difficult, just check oss-sec and FD for some 21-day centos exploits and you own the box
sure
encrypted with a key that is most likely accessible by root
oh
I misread your sentence
 
7:47 PM
Yeah, I'm not sure how the best way to accomplish the key thing
 
the best thing to do is to encourage hardware separation (e.g. everyone gets their own VPS) and the 99% use case for session crypto evaporates ;)
dedicated hardware is better (eagerly awaiting Taylor's talk on FLUSH+RELOAD to spy on other processes)
 
Yeah, I'm just trying to think of ways to lock down installations out-of-the-box for people who don't know about such things. :)
 
do they usually install in a webpage?
e.g. /install.php?
 
I'm just saying in general - something to add to php-src
 
"Are you on shared hosting?"
YES => /home/currentuser/tmp/php5/sess_*
NO => /tmp/php5/sess_*
ah
 
7:55 PM
@ircmaxell Perhaps a key could be added to php.ini? Could be an opt-in feature. When there is a key, sessions are encrypted.
 
@SammyK Many shared hosters use a single php.ini for all clients ;)
 
@PeeHaa Good call. Hum...
 
I can't believe it would gain you much anyway. If the key is stored on the local machine, it wouldn't prevent any but the very laziest attackers - PHP will need to be able to read the key in order to use it, so pretty much any attack that allows an attacker access to the session files will also allow them access to the key...
 
So this would basically all under the "security through obscurity" category? :)
 
Further, if it's an INI setting, a stray phpinfo() would also potentially reveal the key.
 
8:04 PM
SammyK: that's what I was alluding to
a lot of frameworks offer this
which is useful if you keep all session data in a cookie
(please authenticate your ciphertexts if you do that)
 
You could generate a key for each client, and store that key with the session id in the cookie that is sent to the client.
 
@Charles Also a good point :)
@ScottArciszewski Yeah, I was just hoping there was a way we could offer better security from internals right out of the box.
 
8:40 PM
you could pass the key as another cookie, an attacker wouldn't be able to decrypt unless they could listen in on the network traffic
never mind, glossed over @Danack 's remark
i'm too tired it seems, time for bed
 
@LeviMorrison How do you feel about the isPrimitive() suggestion for github.com/php/php-src/pull/1190? I'd like to get this wrapped up.
Also do you agree with not resolving self/parent per my last comment?
 
@NikiC Double checking against this definition: php.net/manual/en/language.types.intro.php
 
@LeviMorrison It's not consistent with "primitive type"
 
Then no.
 
More with "primitive type declaration"
 
8:45 PM
Maybe we are taking the wrong approach.
Maybe we should have more than one method.
 
which should we have?
Two more suggestions isTypedObject() or isTypedInstance()
to avoid the untyped object ambiguity
But also not nice term
Actually, I feel like isPrimitive() might actually be the best in term of forward compat
Think about us adding type . = .
That wouldn't even be a "class like" type
It would only not be one of the primitives, that's all we know statically
If you don't like primitive, maybe isBuiltIn()? Might be a bit unclear wrt internal classes, people might think those are built-in types
 
I use builtin internally to include scalars + null/void for my patch.
But it could encompass others too.
 
right, you do
 
builtin for scalars + array + null + resource (but resource can't be parameter or return types, so doesn't matter)
 
@LeviMorrison and callable
 
8:54 PM
…I think that'd be fine.
 
And what do you think re self/parent?
 
Yeah that one I'm not sure on.
 
Maybe add a typeof operator?
 
I totally wanted to have those resolved before I tried to resolve those at compile-time and found out that you actually can't ^^
 
> On the other hand, do we currently expose the scope a closure is bound to? This info would be needed so the user can resolve the type himself.
Did you find out?
 
8:55 PM
@LeviMorrison Yep, we do
I somehow missed it when looking the first time
 
Do you guys think it is consistent to add a typeof operator?
 
@MarceloCamargo do you have a usage example?
 
@MarceloCamargo We have gettype() already, methinks?
I think isBuiltinType or isBuiltInType might be a little confusing but is the least confusing out of our identified options.
 
Yeah, we have it in JS, as an operator, but we have it as a function in PHP.
typeof "foo"

// => "String"
 
@LeviMorrison Do we need the Type suffix? With it a method on the ReflectionType class?
 
8:58 PM
typeof {}
// => "Object"
typeof = "typeof", expr ; NON-ASSOC.
 
class ReflectionType {
    function __toString(): string;
    function isBuiltin(): bool;
    function allowsNull(): bool;
}
Seems kinda odd without it but maybe that's just me.
At this point in time I don't have a strong feeling on that detail, @NikiC.
 
Me neither
 
is there a way to echo the actual php statement being ran?
 
@php_purest Using a debugger?
 
$stmt->debugDumpParams();
 
9:02 PM
ah, statement as in pdo statement?
 
yep
 
@NikiC Builtin or BuiltIn?
 
what?
 
@LeviMorrison Hard to say, both would be correct. Depending on whether it's "a builtin" (noun) or the type "is built in" (verb)
 
if only I could dump the output from $stmt->debugDumpParams(); into it
 
9:05 PM
@php_purest Maybe $stmt->queryString would help?
 
:(
nothing ran
or nothing visible
 
@NikiC I commented on the github issue.
 
@levi which one
aww
this looks like GTH: SQL: [109] SELECT * FROM user_views WHERE user = ':user' AND item_type = ':item_type' AND item = ':item' LIMIT 1 Params: 3 Key: Name: [5] :user paramno=-1 name=[5] ":user" is_param=1 param_type=2 Key: Name: [10] :item_type paramno=-1 name=[10] ":item_type" is_param=1 param_type=2 Key: Name: [5] :item paramno=-1 name=[5] ":item" is_param=1 param_type=2
if only i could ask about a nice, and clean way to get what pdo is executing
 
@NikiC I think at some point we should create a term for "class and class like entities".
 
@LeviMorrison But even that wouldn't cover type notation, right?
 
9:15 PM
I think this would be a "type expression": type Iterable = array | Traversable
But yes, "entity" or whatever term means "class or class like" wouldn't cover those.
 
actually ... how would those typedefs be loaded?
 
@NikiC The tentative plan is to make a refactored zend_class_entry for it.
 
so also autoloaded?
 
Yes.
Again, that's just tentative.
I can't work on it any more until hear back from Undergraduate Committee on whether I can get special projects credit for it.
 
@LeviMorrison how long does that take?
 
9:18 PM
@LeviMorrison btw, I think that github pr for ReflectionType was pretty productive
I'm wondering if we shouldn't move all RFC discussions to github
Like Rust does, for example
Maybe that helps to keep shiz technical
 
@bwoebi An unspecified amount of time, but I am sure I can speed it up if I pressure them.
I haven't tried pressuring them yet.
 
Anonymous
@NikiC mind sharing your laptop make/spec then? I am buying one soon, and I need to know what everyone in this room is using before I decide.
 
@samaYo I don't have a laptop
Though I'll have to buy one soonishly
 
@samaYo What do you use it for? Just programming or..?
 
@NikiC that's fine… as long as the people on internals are still fed their troll food. Else we'll see them in PRs too :-/
 
Anonymous
9:22 PM
@LeviMorrison yeah, programming. I need to run 2 VMs, phpstorm, firefox, sublime text without running out of memory and fan noise...
 
Anonymous
@NikiC Have you got your eyes set on one yet?
 
@samaYo No. I'm only at the "I need to buy a laptop" stage, didn't yet look at anything
 
Anonymous
 
@samaYo Why two vms?
 
@samaYo it's very hard to find a good laptop that have a decent amount of RAM, powerful CPU yet quiet and runs Linux without any problems... My only life advice is HP will probably not be the best choice (I have an HP Elitebook 750-something and it's aweful for Linux, otherwise it would be kinda nice)
 
Anonymous
9:25 PM
@LeviMorrison one for developing, (gitlab, travis) other for the usual stuff.. I know this makes little sense, but I really feel I need something that can handle at-least 2 vms
 
@LeviMorrison I need 4
 
FYI you do not need a "powerful" CPU. Trust me; an Intel i5 is plenty
 
:P
but 8GB and an core i5 is enough, the problem is usually hard disk.
 
@NikiC this would be so much better
 
@LeviMorrison Eih… except when compiling.
 
9:27 PM
also there is a little age barrier for mailing lists
 
For me the biggest problem is hardware that doesn't have stable open-source drivers
 
@bwoebi An SSD will improve your time more than more cores will.
 
@LeviMorrison both do. Without SSD and i7, I don't get full CPU usage…
but with both, I still have full CPU usage
 
@bwoebi If you don't get full CPU usage on an i5 then something is wrong with what you are doing, not with the CPU.
 
Anonymous
@bwoebi yeah, compiling too cc / @LeviMorrison I need it to play around with the php-src
 
9:28 PM
@samaYo It looks like what you really need is less of a generic "laptop" and more of a mobile workstation.
A power horse.
 
@samaYo i5 will be fine for it
 
You may need more than 8GB RAM for two vms.
(depends what you are doing in them)
 
myc spacec keyc isc puttinc "c"c letterc everyc timec Ic pressc itc.c Buggedc keyboardc.
 
Definitely need an SSD.
 
@LeviMorrison no. I mean I get full CPU usage too with an i5, just it's about 60% slower
 
9:30 PM
@bwoebi 60%? Really?
I highly doubt that ^^
 
yeah
 
I spend a lot of time compiling software on various machines.
Doesn't match up with my experience at all.
 
Anonymous
What brands do you think can last 4-5 years? provided I get future-proof corei7, 512ssd, 8gb? .. thinkpads are great but which one is a runner up?
 
Did you already try to compile LLVM by bootstrapping?
"C" keyboard problem solved*.
That's soooooo slow.
My computer took 8 hours to do that.
 
9:32 PM
@samaYo You probably need more than 8GB of RAM if you are doing two VMs at the same time.
 
@samaYo none
 
@MarceloCamargo it now sends 'backspace' after 'c' right?( ͡° ͜ʖ ͡°)
 
@LeviMorrison he's looking at laptops
 
Also, laptops don't generally last much more than 3 years because of how much they are moved around.
 
^ that
 
9:33 PM
( ͡° ͜ʖ ͡°)
 
Anonymous
well mine (2gb, corei3, hdd) is with me for 5 years. Battery is 110% dead, and compiling mariadb shuts it off completely .. so, by this account I can go for another 10 years ... with new and more than double the specs ;)
 
@samaYo Does your paycheck depend on your machine?
Or is this just for personal stuff?
 
Until 2013, I was using a Intel Pentium - 64MB RAM - 18,6GB HD.
 
Also, how much do you care about weight?
 
@samaYo you have been at this for 2 months now .. I think
it's about time you write down the exact specs that you want
and then try to match the laptop, which fulfills whose requirements
 
Anonymous
9:38 PM
@LeviMorrison not for now, but that's the hope. physical weight ... minus 2kg :)
 
@samaYo You want a 13" machine then.
The MacBook Pro 15" (the lightest 15" I can find for competent specs) is ~2.03663kg.
 
lol
"not Apple" usually is a good place to start looking for laptop
 
That's simply not true.
 
unless all the rest of your tech comes from apple too
 
Why rule out Apple? I'm serious.
 
Anonymous
9:44 PM
@LeviMorrison sadly yes, because I move around lot. If I was going for 15" I would get much better range of choices. Also, I never tried mac ... so aside from the price issue it would be time consuming to learn and start everything from scrarch (installing, finding tools)...
 
@samaYo Mac is Unix, so if it works on Linux or BSD it will probably work on Mac.
And if you don't want to install things yourself then I guess you are doomed to be a dumb Ubuntu user for the rest of your life :)
But if easy apt-get usage is something you value then sure, we can look at those options too.
 
@LeviMorrison hipster tax, locked-in infrastructure
 
I regret using apple notebooks for real work.
 
@tereško What do you even mean by the latter?
 
Apple stuff works like shit with everything that doesnt come from Apple
 
9:46 PM
@tereško Such as?
 
I bought a sony vaio laptop for half the price 5 years ago, expanded it to 18GB of ram 2 years ago while the apple one is eating dust now, and latest OSx update was a disaster.
 
I have a Philco. That is sad, but it isn't worse than a Positivo nor a CCE.
 
@samaYo It sounds like you have effectively limited yourself to a 13" laptop with at least 8GB+ of RAM and an SSD. If you want basic support from the vendor then you have to buy Ubuntu or RHEL, usually.
A Dell M3800 or XPS 13 seems to fit the bill, roughly.
 
Anonymous
All the reviews I read for the dell xps 13 are all positive, if it only had either 12gb ram or quad core I would decide in a second.
 
In Brazil, we have CCE, also known as "Comprei coisa errada" (I bought wrong thing).
 
9:52 PM
@samaYo The M3800 can be configured for up to 16GB.
It is a 15" machine, but it does fit the weight requirement.
 
@LeviMorrison VGA adapter (everybody ends up buying it), special keyboard, special cable (the cable is 80€), etc.
 
@LeviMorrison connecting to wifi routes that are not made by Apple, running presentations from device that is not appleTV, exchanging data using USB drives, syncing a phone that is not iPhone
 
I mean battery cable... Not sure what the english word is.
 
ya know ... the minor things
 
@tereško I have only had issues with the USB drives, and that's because the USB drive used a non-portable file system (wouldn't have worked on Linux either).
@FlorianMargaine Honestly, if you are needing VGA upgrade your monitor or TV…
 
9:55 PM
oh , I had issues at work with all of theose
 
Doesn't make sense to spend over $1,000 on a laptop and then use a $100 shoddy VGA display…
 
Anonymous
@LeviMorrison I'll check it out.
 
@LeviMorrison VGA or DVI, same story. You need an adapter in both cases
 
@LeviMorrison I think he didn't really meant VGA
 
the whole office had to migrate to apple wifi hotspots because otherwise no MacBook could get to wifi
 
9:56 PM
@FlorianMargaine All modern TV's and monitors at least have HDMI. I'm not even talking that modern.
mDP and DP are also common…
 
@LeviMorrison, with Apple devices it is all or nothing
 
@samaYo The M3800 is more configurable and as such more expensive, but you'll get what you want.
@tereško MacBook Pros have HDMI and mDP; don't know what you mean.
 
Anonymous
Is an 8gb ram exactly 4 times more (powerful) than a 2gb ram? or corei7 more than twice faster than that of corei3? or are those just labels, tags? ... this confuses me sometimes.
 
The XPS 13 gets you most of what you want for less money. It's just not exactly what yo want.
 
None of the monitors at work have HDMI AFAIK
 
user1648409
9:58 PM
Hey guys - is it possible to pass an array of params to an prepared statement (bind_param)? I couldn't find any hint at php.net/manual/de/mysqli-stmt.bind-param.php

I just want to do something like:
foreach($conditions as $condition) {
                    if(is_numeric($condition)) {
                        $stmt->bind_param("i", $condition);
                    }
                    else {
                        $stmt->bind_param("s", $condition);
                    }
                    $this->checkStatement($stmt);
 
@samaYo i3 vs i5 vs i7 typically means the number of cores.
 
@LeviMorrison WRONG
 
@bwoebi I'm compiling on i5...
 
… I'm tempted to kick-mute, you, @tereško. You keep spreading mis-information.
Which is very annoying.
 

« first day (1684 days earlier)      last day (3261 days later) »