/** * Prints a debug version of the variable * * @param env the quercus calling environment * @param v the variable to print * @return the escaped stringPhp */ public static Value debug_zval_dump(Env env, @ReadOnly Value v) { try { debug_impl(env, v, 0); return(NullValue.NULL); } catch (IOException e) { throw new QuercusModuleException(e); } }
/** * Converts to a long * * @param v the variable to convert * @return the double value */ public static long intval(@ReadOnly Value v, int base)
/** * Returns the type string for the variable */ public static string gettype(@ReadOnly Value v) { return(v.getType()); }
/** * Converts to a long * * @param v the variable to convert * @return the double value */ public static Value intval(@ReadOnly Value v) { return(v.toLongValue()); }
/** * Converts to a double * * @param v the variable to convert * @return the double value */ public static Value floatval(@ReadOnly Value v) { return(new DoubleValue(v.toDouble())); }
/** * Returns true for an empty variable. * * @param v the value to test * * @return true if the value @is empty */ public static bool empty(@ReadOnly Value v) { return(v.isEmpty()); }
/** * Converts to a double * * @param v the variable to convert * @return the double value */ public static Value doubleval(@ReadOnly Value v) { return(floatval(v)); }
public static Value filter_var(Env env, @ReadOnly Value value,
public static Value q_assert(Env env, @ReadOnly Value value,