1--TEST-- 2Test mt_srand() - basic function (return values) mt_srand() 3--FILE-- 4<?php 5// Should return NULL if given anything that it can convert to long 6// This doesn't actually test what it does with the input :-\ 7var_dump(mt_srand()); 8var_dump(mt_srand(500)); 9var_dump(mt_srand(500.1)); 10var_dump(mt_srand("500")); 11var_dump(mt_srand("500E3")); 12var_dump(mt_srand(true)); 13var_dump(mt_srand(false)); 14var_dump(mt_srand(NULL)); 15?> 16--EXPECTF-- 17NULL 18NULL 19NULL 20NULL 21NULL 22NULL 23NULL 24NULL 25