This file contains 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
/* Basic Selectors */ | |
#name /* <div id='name'> */ | |
.name{} /* <div class='name'> */ | |
.parent.name{} /* <div class='parent name'> */ | |
.parent .child{} /* Child Element <div class='parent'> <div class='child'> */ | |
.parent > .child{} /* Direct Child Element ONLY (grandchildren will be ignored) */ | |
.one + .two{} /* Directly Adjoining Elements <div class='one'></div> <div class='two'></div> */ | |
.one ~ .two{} /* Any Following Elements */ | |
/* dynamic selectors */ |
This file contains 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 | |
// Forked from: http://stackoverflow.com/questions/1159216/how-can-i-get-php-to-produce-a-backtrace-upon-errors/1159235#1159235 | |
function process_error_backtrace($errno, $errstr, $errfile, $errline) { | |
if(!(error_reporting() & $errno)) | |
return; | |
switch($errno) { | |
case E_WARNING : | |
case E_USER_WARNING : | |
case E_STRICT : |