Skip to content

Instantly share code, notes, and snippets.

slevy1ster

Block or report user

Report or block slevy1ster

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@slevy1ster
slevy1ster / test4now
Last active Aug 29, 2015
Testing ...
View test4now
<?php
echo "hello world";
View gist:9998379
#include <stdio.h>
void hi(int a, float b) {
printf("a = %d\n", a);
printf("b = %f\n", b);
}
int main(void) {
void (*hello)(float,int) = (void(*)(float,int))hi;
hi(1,2);
View PHP gotcha 2013
$o1 = new stdclass($a=8);
var_dump($a); // Notice: Undefined variable: a
$o2 = new Datetime($b='now');
var_dump($b); // string "now"
You can’t perform that action at this time.