php Programming Glossary: legacy
In PHP, is there a function that returns an array made up of the value of a key from an array of associative arrays? http://stackoverflow.com/questions/10659875/in-php-is-there-a-function-that-returns-an-array-made-up-of-the-value-of-a-key to adjust return array_filter map 'is_scalar' pluck for legacy PHP 5.3 We could have used the legacy create_function however.. pluck for legacy PHP 5.3 We could have used the legacy create_function however it is bad form not recommended and also..
Displaying a table in PHP with repeated columns http://stackoverflow.com/questions/11528436/displaying-a-table-in-php-with-repeated-columns decide which method to retrieve data from database either legacy mysql_ or PDO. get result result mysql_query SELECT autonum..
Profiling PHP code http://stackoverflow.com/questions/133686/profiling-php-code PHP and each file in PHP is taking to run. I've got an old legacy PHP application that I'm trying to find the rough spots in and..
The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead http://stackoverflow.com/questions/13944956/the-mysql-extension-is-deprecated-and-will-be-removed-in-the-future-use-mysqli the rewards of the benefits they offer. You have your own legacy codebase that currently depends upon ext mysql . It would be..
Dead code detection in PHP [closed] http://stackoverflow.com/questions/1778683/dead-code-detection-in-php new features to come out php refactoring code coverage legacy code share improve this question xdebug 's code coverage..
PHP & mySQL: Year 2038 Bug: What is it? How to solve it? http://stackoverflow.com/questions/2012589/php-mysql-year-2038-bug-what-is-it-how-to-solve-it in 2038 though it's hard to foresee as the web hardly a legacy platform yet. Here is a process for altering a database table..
Getting a PHP PDO connection from a mysql_connect()? http://stackoverflow.com/questions/2316413/getting-a-php-pdo-connection-from-a-mysql-connect a PHP PDO connection from a mysql_connect I have a legacy PHP MySQL app that calls mysql_connect . Tons of existing downstream..
Outputting all PHP errors to database not error_log http://stackoverflow.com/questions/2911094/outputting-all-php-errors-to-database-not-error-log my own error handler from scratch but i have a lot of legacy code in place and ideally i would just make 1 global change..
Secure hash and salt for PHP passwords http://stackoverflow.com/questions/401656/secure-hash-and-salt-for-php-passwords a good wrapper or use something like PHPASS for a more legacy implementation. I recommend a minimum of 12 rounds of bcrypt..
MVC: how much code should be in a view? http://stackoverflow.com/questions/4698880/mvc-how-much-code-should-be-in-a-view this is not an issue I strongly suggest to find yourself a legacy application that truly keeps all the logic in the view template...
explain $CI =& get_instance(); http://stackoverflow.com/questions/4740430/explain-ci-get-instance the function was the better way. So it still exists for legacy reasons... So if your app is PHP5 only there should be nothing..
PHP, MySQL and Time Zones http://stackoverflow.com/questions/5768380/php-mysql-and-time-zones Unix epoch time as an integer if you have to such as for legacy purposes. The epoch is UTC. MySQL's preferred datetime format..
Reference: What is a perfect code sample using the MySQL extension? [closed] http://stackoverflow.com/questions/6198104/reference-what-is-a-perfect-code-sample-using-the-mysql-extension PDO it sometimes is neither possible e.g. inherited legacy software nor a realistic expectation users are already using.. always possible sometimes the question asker is working on legacy code or has already come a long way with this library and is..
Error Tolerant HTML/XML/SGML parsing in PHP http://stackoverflow.com/questions/66727/error-tolerant-html-xml-sgml-parsing-in-php Tolerant HTML XML SGML parsing in PHP I have a bunch of legacy documents that are HTML like. As in they look like HTML but..
Is Quercus a viable replacement for PHP in Java environments? http://stackoverflow.com/questions/777356/is-quercus-a-viable-replacement-for-php-in-java-environments I know it is clunky but it is a requirement to support legacy code . I was excited to discover the Quercus project because..
PHPUnit best practices to organize tests http://stackoverflow.com/questions/8313283/phpunit-best-practices-to-organize-tests
PHP 5.4 Call-time pass-by-reference - Easy fix available? http://stackoverflow.com/questions/8971261/php-5-4-call-time-pass-by-reference-easy-fix-available fix this issue or do I really need to rewrite all the legacy code PHP Fatal error Call time pass by reference has been removed..
PHP - urlencode vs rawurlencode? http://stackoverflow.com/questions/996139/php-urlencode-vs-rawurlencode seems rawurlencode is the way to go. The one exception is legacy systems which expect the query string to follow form encoding..
|