Beispiel #1
0
test_hh_bool(true);
test_hh_resource(STDIN);
test_hh_arraykey('herp');
test_hh_arraykey(123);
test_hh_num(123);
test_hh_num(1.23);
test_string(new string());
test_int(new int());
test_float(new float());
test_bool(new bool());
test_resource(new resource());
test_arraykey(new arraykey());
test_num(new num());
print "--- INCORRECT USAGE ---\n";
test_hh_string(new string());
test_hh_int(new int());
test_hh_float(new float());
test_hh_bool(new bool());
test_hh_resource(new resource());
test_hh_arraykey(new arraykey());
test_hh_arraykey(1.23);
test_hh_num(new num());
test_hh_num('123');
test_string('123');
test_int(123);
test_float(1.23);
test_bool(true);
test_resource(STDIN);
test_arraykey('herp');
test_arraykey(123);
test_num(1.23);
Beispiel #2
0
test_bool(true);
test_resource(STDIN);
test_arraykey('herp');
test_arraykey(123);
test_num(123);
test_num(1.23);
print "--- INCORRECT USAGE ---\n";
test_string(new string());
test_int(new int());
test_float(new float());
test_bool(new bool());
test_resource(new resource());
test_arraykey(new arraykey());
test_num(new num());
print "--- INCORRECT USAGE ---\n";
test_hh_string(new string());
test_hh_int(new int());
test_hh_float(new float());
test_hh_bool(new bool());
test_hh_resource(new resource());
test_hh_arraykey(new arraykey());
test_hh_arraykey(1.23);
test_hh_num(new num());
test_hh_num('123');
test_string(new string());
test_int(new int());
test_float(new float());
test_bool(new bool());
test_resource(new resource());
test_arraykey(new arraykey());
test_num(new num());