Articles with tags related to ternary

Browsing by tag ternary

Performance counts - Should you use bitwise or modulus when deciding odd/even rows

Tagged in bitwise, ternary, modulus, php

Using a bitwise operator is faster than using modulus operators, right? Apparently this is not the case with PHP.

Featured Article

PHP Variables and strings

A variable is a means of storing a value, such as a text string or a number. In PHP you do not have to declare your variable, as it's automatically declared when you set it. Since you do not need to declare the variable, you do not have to specify what kind of data it contains either.

Featured Article

How to write a RSS feed with PHP

Tagged in rss, feed, phphowto

If you have a web site or blog, it's important to spread the word, and what's better than a properly designed and updated RSS feed? Here's how to write a PHP script that fetches the last 10 items from your database and writes it to a RSS-file.

Topics
Magicode's own open source project
From the forum / Latest comments
You may also want to to check out these links: sendanonmail.com, superstrongpassword.com.