Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.
An array contains a series of information. Retrieving a single piece of information involves iterating over a loop, such as foreach or calling the index directly using the array name and the index. For example,
$this->options['use_thread_system']
In several places, I use information in the...
A PHP array is a great way to group items together into one variable then loop through to retrieve the information. Arrays are an important tool in PHP development. A tool I've stayed away from writing in my code until recently.
Let me explain.
The other day I was looking at the dashboard...
PHP development is best done in an Integrated Development Environment (IDE). I prefer PhpStorm.
Updating to PhpStorm 2017.1 added parameter hints. In particular, it's easy to start typing and type the word parameters. This loads the parameters needed for calling a method. This was used while...
I've been around technology for many decades, yet have avoided or skipped learning certain technologies. JavaScript is an example. You might be thinking that is silly because of JavaScript's importance on the web since 2004. In my defense, my attention has been on other technologies, mainly...
I'm a huge fan of PhpStorm. It's has helped me tremendously through autocompletion and showing errors in PHP code.
I'm also a fan of loading XenWord into different development environments so I can see what the code looks like outside PhpStorm. Typically I use Atom or Sublime Text. Today it was...
PhpMyAdmin is a great tool. It's included with MAMP Pro and I've used it for years. However, work on the Classroom Laravel project provided me an opportunity to branch out today into Sequel Pro in order to learn more about MySQL tables.* My naive understanding is Sequel Pro can help build...
While tinkering with new code on a test project, I asked Bob from Xen Addons for some advice and help. His answers led to more questions, however, there were several gold nuggets in the answers. Due to my reliance on var_dump, the treasure was missed until this morning when I used print_r...
In passing a parameter to a function or method, type declaration or hinting can be useful to ensure the correct parameter type is passed to the function. For example, a requirement to pass an array involves placing the word array in front of the parameter.
Create a file named...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.