You can use the anonymous PLSQL block to run something without compiling to the database, but objects that do not exist in the database (package, function, stored procedure, type, etc.) must be declared in the anonymous PLSQL block.
, (), , /etc, PLSQL:
DECLARE
FUNCTION your_fnc() RETURN ... AS ...
BEGIN
SELECT your_fnc()
FROM DUAL;
END;