Migrated to github
The following is a table showing the difference between unsigned, signed, hexadecimal, and binary representations of the possible numbers in a 4-bit int.
unsigned | signed | hex | binary | sign bit |
---|---|---|---|---|
0 | 0 | 0 | 0000 | 0 |
1 | +1 | 1 | 0001 | 0 |
2 | +2 | 2 | 0010 | 0 |
3 | +3 | 3 | 0011 | 0 |
4 | +4 | 4 | 0100 | 0 |
5 | +5 | 5 | 0101 | 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include('connect.php'); | |
session_start(); | |
// Note: this is pseudo-code since I don't have a reference handy right now. Don't actually try to use it | |
// I mean that the functions used here are likely to be fictionally named alternatives to the real function | |
// for example, exist() is not used to check $_POST's existence, it might not even be an existing function | |
if(exist($_POST)){ |
NewerOlder