PHP bound parameters on big endian platforms [CR #627872]

In Sybase IQ 15.2, PHP: Hypertext Preprocessor (PHP) drivers on big endian platforms require bound parameters to be initialized before the call to sasql_stmt_bind_param for INT and BIGINT data types.

This example shows the values properly initialized before the call to sasql_stmt_bind_param:

$stmt = sasql_prepare($conn, "insert into
testdefault(c1, c2, c3, c5) values(?,?,?,?)");
#Binding parameters with statement prepared
$c1=22;  $c2=33;  $c3="col3data";  $c5="col5data";
sasql_stmt_bind_param
($stmt,"iiss", $c1, $c2, $c3, $c5);
#executing statement
sasql_stmt_execute($stmt);