@PeeHaa Yes, but it is more clearly and transparently. (always better define what we're dealing). Maybe someone work with out composer and only use logic.
@JoeWatkins github.com/krakjoe/phpdbg/compare/… I needed to use use_zend_alloc anyway (for watching when elements are freed)… so we are using VirtualAlloc() on Windows anyway. The only thing I now need you to do is fiddling around with VirtualProtect(). And try if it works. Shouldn't be too hard I hope…
(And I really doubt that zend_alloc.* were ever designed to be used from another code which isn't in /main or /Zend^^)
btw. the watchpoints thing is getting confusing (just the phpdbg_watch.c … It needs some cleanup later…)
@NikiC building php from master… getting some linker error:
Undefined symbols for architecture x86_64:
"_zend_is_by_ref_func_arg_fetch", referenced from:
_ZEND_FETCH_FUNC_ARG_SPEC_CONST_CONST_HANDLER in zend_execute.o
_ZEND_FETCH_FUNC_ARG_SPEC_CONST_VAR_HANDLER in zend_execute.o
_ZEND_FETCH_FUNC_ARG_SPEC_CONST_UNUSED_HANDLER in zend_execute.o
_ZEND_FETCH_FUNC_ARG_SPEC_TMP_CONST_HANDLER in zend_execute.o
_ZEND_FETCH_FUNC_ARG_SPEC_TMP_VAR_HANDLER in zend_execute.o
_ZEND_FETCH_FUNC_ARG_SPEC_TMP_UNUSED_HANDLER in zend_execute.o
In computer programming, code smell is any symptom in the source code of a program that possibly indicates a deeper problem. Code smells are usually not bugs—they are not technically incorrect and don't currently prevent the program from functioning. Instead, they indicate weaknesses in design that may be slowing down development or increasing the risk of bugs or failures in the future.
Often the deeper problem hinted by a code smell can be uncovered when the code is subjected to a short feedback cycle where it is refactored in small, controlled steps, and the resulting design is examined...
Have you attempted to change the single quotes like ':
$getuser = $connection->prepare('SELECT `username`, `password` FROM `users` WHERE `username` = ? AND `password` = ?');
$getuser->bind_param('ss', $username, $hashedpassword);
To double quotes like "
$getuser = $connection->prepare("SELECT...
I'm actually passively working on a language; once I have a v0.1 parser and environment API, I'm gonna hub it. It won't be production friendly, but it'll be a good spec-development framework, against which a more optimized language could be developed.
Mechanize is printing these form names, but I'm unable to get which of these are form names Form name: appForm <appForm POST kuexams.org/results/… application/x-www-form-urlencoded <TextControl(htno=)> <TextControl(entered_captcha=Enter the verification code)> <IgnoreControl(<None>=<None>)> <IgnoreControl(print=<None>)>>
Form name: appForm <appForm POST kuexams.org/results/… application/x-www-form-urlencoded <TextControl(htno=)> <TextControl(entered_captcha=Enter the verification code)> <IgnoreControl(<None>=<None>)> <IgnoreControl(print=<None>)>>
could anyone indicate a php class to calculate volume of a box in a way that i can add many boxes to it and it will fit them in the best possible way ?
It's a little more complicated than just "get" and "set then get" I suppose; I'm iterating over an array of keys, and going deeper into an array; "get" will just bail out if a key doesn't exist, whereas "set then get" will dive into the array, and if it finds a missing offset, it'll create it and continue, and then return the new reference.
Its not part of the public API so I guess I could call it banana() and brotherly_love(), but even still...
yeah, the only real reason to migrate from mysql_ is for forwards compatibility. Your security concerns don't magically go away when you do. It's still up to the developer to make sure they properly run their queries.
as an argument against - with prepared statements (real, not emulated) you interact with a database twice (assuming you're executing a prepared statement just once)
I have a **SET** in a column.How i get the values count ?
ex:
id | column
1 | a,b,c,d,e,f,g,h
I want to get the column **SET** values count ?
in here it should be 8 ?
@zerkms But it's with good will (and exactly what you called a fine answer when written by Bramar). And read my comment above the duplicate suggestion. With your picture alone it's pretty little a question that can be answered well and in a useful manner.
that (it is of SET data type) is my first impression as well, but the only dumping an image that's a screenshot from some (phpmy?) admin UI with no further legend is pretty weark for a question.
Well, one can do a subquery on a string column in MySql.