Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvpunski2010-02-11 13:29:06 +0000
committervpunski2010-02-11 13:29:06 +0000
commite56a224e1f13e761d59c3bd42d55806ceab97938 (patch)
tree00891fcff408c47ddf739220653be36f15521eec
parent9bb6bda929db52e440e207720a799b3159862f8f (diff)
downloadorg.eclipse.pdt-e56a224e1f13e761d59c3bd42d55806ceab97938.tar.gz
org.eclipse.pdt-e56a224e1f13e761d59c3bd42d55806ceab97938.tar.xz
org.eclipse.pdt-e56a224e1f13e761d59c3bd42d55806ceab97938.zip
updated php stubs
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Data Cache.php69
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Debugger.php68
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Download Server.php25
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.3/Zend JobQ.php412
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Loader.php103
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.3/Zend MonitorExt.php207
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Optimizer+.php24
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Page Cache.php26
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5/Zend Data Cache.php69
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5/Zend Debugger.php68
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5/Zend Download Server.php25
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5/Zend JobQ.php412
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5/Zend Loader.php103
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5/Zend MonitorExt.php207
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5/Zend Optimizer+.php24
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5/Zend Page Cache.php26
-rw-r--r--plugins/org.eclipse.php.core/Resources/language/php5/zend.php835
17 files changed, 1859 insertions, 844 deletions
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Data Cache.php b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Data Cache.php
new file mode 100644
index 000000000..3a36f7af8
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Data Cache.php
@@ -0,0 +1,69 @@
+<?php
+/**
+ * Stores a variable identified by key into the cache. If a namespace is provided, the key is stored under that namespace. Identical keys can exist under different namespaces
+ * @param $key string
+ * @param $value mixed
+ * @param $ttl int[optional]
+ * @return boolean FALSE if cache storing fails, TRUE otherwise
+ * @since 4.0
+ */
+function zend_shm_cache_store($key, $value, $ttl = 0) {}
+
+/**
+ * Stores a variable identified by a key into the cache. If a namespace is provided, the key is stored under that namespace. Identical keys can exist under different namespaces
+ * @param $key string
+ * @param $value mixed
+ * @param $ttl int[optional]
+ * @return boolean FALSE if cache storing fails, TRUE otherwise
+ * @since 4.0
+ */
+function zend_disk_cache_store($key, $value, $ttl = 0) {}
+
+/**
+ * Fetches data from the cache. The key can be prefixed with a namespace to indicate searching within the specified namespace only. If a namespace is not provided, the Data Cache searches for the key in the global namespace
+ * @param $key mixed
+ * @return mixed FALSE if no data that matches the key is found, else it returns the stored data, If an array of keys is given, then an array which its keys are the original keys and the values are the corresponding stored data values
+ * @since 4.0
+ */
+function zend_shm_cache_fetch($key) {}
+
+/**
+ * Fetches data from the cache. The key can be prefixed with a namespace to indicate searching within the specified namespace only. If a namespace is not provided, the Data Cache searches for the key in the global namespace
+ * @param $key mixed
+ * @return mixed FALSE if no data that matches the key is found, else it returns the stored data, If an array of keys is given, then an array which its keys are the original keys and the values are the corresponding stored data values
+ * @since 4.0
+ */
+function zend_disk_cache_fetch($key) {}
+
+/**
+ * Finds and deletes an entry from the cache, using a key to identify it. The key can be prefixed with a namespace to indicate that the key can be deleted within that namespace only. If a namespace is not provided, the Data Cache searches for the key in the global namespace
+ * @param $key mixed
+ * @return boolean TRUE on success, FALSE on failure.
+ * @since 4.0
+ */
+function zend_shm_cache_delete($key) {}
+
+/**
+ * Finds and deletes an entry from the cache, using a key to identify it. The key can be prefixed with a namespace to indicate that the key can be deleted within that namespace only. If a namespace is not provided, the Data Cache searches for the key in the global namespace
+ * @param $key string
+ * @return boolean TRUE on success, FALSE on failure or when entry doesn't exist.
+ * @since 4.0
+ */
+function zend_disk_cache_delete($key) {}
+
+/**
+ * Deletes all entries from all namespaces in the cache, if a 'namespace' is provided, only the entries in that namespace are deleted
+ * @param $namespace string
+ * @return boolean If the namespace does not exist or there are no items to clear, the function will return TRUE. The function will return FALSE only in case of error.
+ * @since 4.0
+ */
+function zend_shm_cache_clear($namespace) {}
+
+/**
+ * Deletes all entries from all namespaces in the cache, if a 'namespace' is provided, only the entries in that namespace are deleted
+ * @param $namespace string
+ * @return boolean If the namespace does not exist or there are no items to clear, the function will return TRUE. The function will return FALSE only in case of error.
+ * @since 4.0
+ */
+function zend_disk_cache_clear($namespace) {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Debugger.php b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Debugger.php
new file mode 100644
index 000000000..f01496633
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Debugger.php
@@ -0,0 +1,68 @@
+<?php
+/**
+ * Prints the string value of a zval
+ * @internal
+ * @param $param mixed
+ * @since 3.6
+ */
+function debugger_print($param) {}
+
+/**
+ * Obtains the function call stack trace
+ * @internal
+ * @return array the call stack
+ * @since 3.6
+ */
+function get_call_stack() {}
+
+/**
+ * Triggers a debug session from within a script
+ * @since 3.6
+ */
+function debugger_start_debug() {}
+
+/**
+ * Obtains the pid of the tunnel server
+ * @internal
+ * @return int the pid
+ * @since 3.6
+ */
+function debugger_connector_pid() {}
+
+/**
+ * Initiates a tunnel connection
+ * @return boolean TRUE the connection is established or FALSE could not connect
+ * @since 3.6
+ */
+function debugger_connect() {}
+
+/**
+ * Obtain the server's start time as recorded by the Zend Debugger
+ * @internal
+ * @return int the server's start time
+ * @since 3.6
+ */
+function debugger_get_server_start_time() {}
+
+/**
+ * Triggers code coverage check from this line and on
+ * @internal
+ * @since 4.0
+ */
+function xdebug_start_code_coverage() {}
+
+/**
+ * Stops code coverage check from this line and on
+ * @internal
+ * @since 4.0
+ */
+function xdebug_stop_code_coverage() {}
+
+/**
+ * Get code coverage statistics
+ * @internal
+ * @return array An array which contains the information on code coverage
+ * @since 4.0
+ */
+function xdebug_get_code_coverage() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Download Server.php b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Download Server.php
new file mode 100644
index 000000000..ec1f43ebe
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Download Server.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Outputs the contents of a file to a client using the ZDS and terminates the script.
+ * @param $filename string
+ * @param $mime_type string
+ * @param $custom_headers string
+ * @return void
+ */
+function zend_send_file($filename, $mime_type = '', $custom_headers = '') {}
+
+/**
+ * Ouputs the contents of a string buffer to a client using ZDS and terminates the script.
+ * @param $buffer string
+ * @param $mime_type string
+ * @param $custom_headers string
+ * @return void
+ */
+function zend_send_buffer($buffer, $mime_type = '', $custom_headers = '') {}
+
+/**
+ * Returns the download server's process ID.
+ * @return int The download server's process ID.
+ */
+function zds_get_pid() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend JobQ.php b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend JobQ.php
new file mode 100644
index 000000000..199b6ffa8
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend JobQ.php
@@ -0,0 +1,412 @@
+<?php
+/**
+ * The ZendJobQueue is a PHP class that implements a connection to the Job Queue Daemon
+ * @since 5.0
+ */
+class ZendJobQueue {
+
+/**
+ * A HTTP type of job with an absolute URL
+ * @since 5.0
+ */
+const TYPE_HTTP = "";
+
+/**
+ * A HTTP type of job with a relative URL
+ * @since 5.0
+ */
+const TYPE_HTTP_RELATIVE = "";
+
+/**
+ * A SHELL type of job
+ * @since 5.0
+ */
+const TYPE_SHELL = "";
+
+/**
+ * A low priority job
+ * @since 5.0
+ */
+const PRIORITY_LOW = "";
+
+/**
+ * A normal priority job
+ * @since 5.0
+ */
+const PRIORITY_NORMAL = "";
+
+/**
+ * A high priority job
+ * @since 5.0
+ */
+const PRIORITY_HIGH = "";
+
+/**
+ * An urgent priority job
+ * @since 5.0
+ */
+const PRIORITY_URGENT = "";
+
+/**
+ * The job is waiting to be processed
+ * @since 5.0
+ */
+const STATUS_PENDING = "";
+
+/**
+ * The job is waiting for its predecessor's completion
+ * @since 5.0
+ */
+const STATUS_WAITING_PREDECESSOR = "";
+
+/**
+ * The job is executing
+ * @since 5.0
+ */
+const STATUS_RUNNING = "";
+
+/**
+ * Job execution has been completed successfully
+ * @since 5.0
+ */
+const STATUS_COMPLETED = "";
+
+/**
+ * The job execution failed
+ * @since 5.0
+ */
+const STATUS_FAILED = "";
+
+/**
+ * The job was executed and reported its successful completion status
+ * @since 5.0
+ */
+const STATUS_OK = "";
+
+/**
+ * The job was executed but reported failed completion status
+ * @since 5.0
+ */
+const STATUS_LOGICALLY_FAILED = "";
+
+/**
+ * Job execution timeout
+ * @since 5.0
+ */
+const STATUS_TIMEOUT = "";
+
+/**
+ * A logically removed job
+ * @since 5.0
+ */
+const STATUS_REMOVED = "";
+
+/**
+ * The job is scheduled to be executed at some specific time
+ * @since 5.0
+ */
+const STATUS_SCHEDULED = "";
+
+/**
+ * The job execution is susspended
+ * @since 5.0
+ */
+const STATUS_SUSPENDED = "";
+
+/**
+ * Disable sorting of result set of getJobsList()
+ * @since 5.0
+ */
+const SORT_NONE = "";
+
+/**
+ * Sort result set of getJobsList() by job id
+ * @since 5.0
+ */
+const SORT_BY_ID = "";
+
+/**
+ * Sort result set of getJobsList() by job type
+ * @since 5.0
+ */
+const SORT_BY_TYPE = "";
+
+/**
+ * Sort result set of getJobsList() by job script name
+ * @since 5.0
+ */
+const SORT_BY_SCRIPT = "";
+
+/**
+ * Sort result set of getJobsList() by application name
+ * @since 5.0
+ */
+const SORT_BY_APPLICATION = "";
+
+/**
+ * Sort result set of getJobsList() by job name
+ * @since 5.0
+ */
+const SORT_BY_NAME = "";
+
+/**
+ * Sort result set of getJobsList() by job priority
+ * @since 5.0
+ */
+const SORT_BY_PRIORITY = "";
+
+/**
+ * Sort result set of getJobsList() by job status
+ * @since 5.0
+ */
+const SORT_BY_STATUS = "";
+
+/**
+ * Sort result set of getJobsList() by job predecessor
+ * @since 5.0
+ */
+const SORT_BY_PREDECESSOR = "";
+
+/**
+ * Sort result set of getJobsList() by job persistence flag
+ * @since 5.0
+ */
+const SORT_BY_PERSISTENCE = "";
+
+/**
+ * Sort result set of getJobsList() by job creation time
+ * @since 5.0
+ */
+const SORT_BY_CREATION_TIME = "";
+
+/**
+ * Sort result set of getJobsList() by job schedule time
+ * @since 5.0
+ */
+const SORT_BY_SCHEDULE_TIME = "";
+
+/**
+ * Sort result set of getJobsList() by job start time
+ * @since 5.0
+ */
+const SORT_BY_START_TIME = "";
+
+/**
+ * Sort result set of getJobsList() by job end time
+ * @since 5.0
+ */
+const SORT_BY_END_TIME = "";
+
+/**
+ * Sort result set of getJobsList() in direct order
+ * @since 5.0
+ */
+const SORT_ASC = "";
+
+/**
+ * Sort result set of getJobsList() in reverse order
+ * @since 5.0
+ */
+const SORT_DESC = "";
+
+/**
+ * Constant to report completion status from the jobs using setCurrentJobStatus()
+ * @since 5.0
+ */
+const OK = "";
+
+/**
+ * Constant to report completion status from the jobs using setCurrentJobStatus()
+ * @since 5.0
+ */
+const FAILED = "";
+
+/**
+ * Creates a Zend_JobQueue object connected to a Job Queue daemon.
+ * @param $application string
+ * @param $binding string[optional]
+ * @param $connection_timeout int[optional]
+ * @since 5.0
+ */
+function __construct($application = '', $binding = 'taken from default_binding directive', $connection_timeout = 10) {}
+
+/**
+ * Creates a new URL based job to make the Job Queue Daemon call given $script with given $vars
+ * @param $url string
+ * @param $vars array
+ * @param $options mixed
+ * @return int A job identifier which can be used to retrieve the job status
+ * @since 5.0
+ */
+function createHttpJob($url, $vars, $options) {}
+
+/**
+ * Retrieves status of previously created job identified by $job_id
+ * @param $job_id int
+ * @return array The array contains status, completion status and output of the job
+ * @since 5.0
+ */
+function getJobStatus($job_id) {}
+
+/**
+ * Removes the job from the queue. Makes all dependent jobs fail. In case the job is in progress it will be finished but dependent jobs won't be started anyway. For non-existing jobs the function just returns false. Finished jobs are simply removed from the database
+ * @param $job_id int
+ * @return boolean The job was removed or not removed
+ * @since 5.0
+ */
+function removeJob($job_id) {}
+
+/**
+ * Restart a previously executed Job and all its followers.
+ * @param $job_id int
+ * @return boolean If the job was restarted or not restarted
+ * @since 5.0
+ */
+function restartJob($job_id) {}
+
+/**
+ * Checks if Queue is suspended and returns true or false
+ * @return boolean A Job Queue status
+ * @since 5.0
+ */
+function isSuspended() {}
+
+/**
+ * Checks if the Job Queue Daemon is running
+ * @return boolean Return true if the Job Queue Deamon is running, otherwise it returns false
+ * @since 5.0
+ */
+function isJobQueueDaemonRunning() {}
+
+/**
+ * Suspends the Job Queue so it will accept new jobs, but won't start them. The jobs which were executed during call to this function will be completed
+ * @since 5.0
+ */
+function suspendQueue() {}
+
+/**
+ * Resumes the Job Queue so it will schedule and start queued jobs.
+ * @since 5.0
+ */
+function resumeQueue() {}
+
+/**
+ * Returns internal daemon statistics such as up-time, number of complete jobs, number of failed jobs, number of waiting jobs, number of currently running jobs, etc
+ * @return array Associative array
+ * @since 5.0
+ */
+function getStatistics() {}
+
+/**
+ * Returns the current value of the configuration option of the Job Queue Daemon
+ * @return array Associative array of configuration variables
+ * @since 5.0
+ */
+function getConfig() {}
+
+/**
+ * Re-reads the configuration file of the Job Queue Daemon and reloads all directives that are reloadable
+ * @return boolean If configuration file was loaded successfully or not
+ * @since 5.0
+ */
+function reloadConfig() {}
+
+/**
+ * Returns an associative array with properties of the job with the given id from the daemon database
+ * @param $job_id int
+ * @return array array of job details. The following properties are provided (some of them don't have to always be set): "id" - The job identifier "type" - The job type (see TYPE_* constants) "status" - The job status (see STATUS_* constants) "priority" - The job priority (see PRIORITY_* constants) "persistent" - The persistence flag "script" - The URL or SHELL script name "predecessor" - The job predecessor "name" - The job name "vars" - The input variables or arguments "http_headers" - The additional HTTP headers for HTTP jobs "output" - The output of the job "error" - The error output of the job "creation_time" - The time when the job was created "start_time" - The time when the job was started "end_time" - The time when the job was finished "schedule" - The CRON-like schedule command "schedule_time" - The time when the job execution was scheduled "app_id" - The application name
+ * @since 5.0
+ */
+function getJobInfo($job_id) {}
+
+/**
+ * Returns a list of associative arrays with the properties of the jobs which depend on the job with the given identifier
+ * @param $job_id int
+ * @return array A list of jobs
+ * @since 5.0
+ */
+function getDependentJobs($job_id) {}
+
+/**
+ * Returns a list of associative arrays with properties of jobs which conform to a given query
+ * @param $query array
+ * @param $total int
+ * @return array A list of jobs with their details
+ * @since 5.0
+ */
+function getJobsList($query, $total) {}
+
+/**
+ * Returns an array of application names known by the daemon
+ * @return array A list of applications
+ * @since 5.0
+ */
+function getApplications() {}
+
+/**
+ * Returns an array of all the registered scheduled rules. Each rule is represented by a nested associative array with the following properties: "id" - The scheduling rule identifier "status" - The rule status (see STATUS_* constants) "type" - The rule type (see TYPE_* constants) "priority" - The priority of the jobs created by this rule "persistent" - The persistence flag of the jobs created by this rule "script" - The URL or script to run "name" - The name of the jobs created by this rule "vars" - The input variables or arguments "http_headers" - The additional HTTP headers "schedule" - The CRON-like schedule command "app_id" - The application name associated with this rule and created jobs "last_run" - The last time the rule was run "next_run" - The next time the rule will run
+ * @return array A list of scheduling rules
+ * @since 5.0
+ */
+function getSchedulingRules() {}
+
+/**
+ * Returns an associative array with the properties of the scheduling rule identified by the given argument. The list of the properties is the same as in getSchedulingRule()
+ * @param $rule_id int
+ * @return array Information about the scheduling rule
+ * @since 5.0
+ */
+function getSchedulingRule($rule_id) {}
+
+/**
+ * Deletes the scheduling rule identified by the given $rule_id and scheduled jobs created by this rule
+ * @param $rule_id int
+ * @return boolean If scheduling rule was deleted or not deleted
+ * @since 5.0
+ */
+function deleteSchedulingRule($rule_id) {}
+
+/**
+ * Suspends the scheduling rule identified by given $rule_id and deletes scheduled jobs created by this rule
+ * @param $rule_id int
+ * @return boolean If scheduling rule was suspended or not suspended
+ * @since 5.0
+ */
+function suspendSchedulingRule($rule_id) {}
+
+/**
+ * Resumes the scheduling rule identified by given $rule_id and creates a corresponding scheduled job
+ * @param $rule_id int
+ * @return boolean If the scheduling rule was resumed or not resumed
+ * @since 5.0
+ */
+function resumeSchedulingRule($rule_id) {}
+
+/**
+ * Updates and reschedules the existing scheduling rule
+ * @param $rule_id int
+ * @param $script string
+ * @param $vars array
+ * @param $options array
+ * @return boolean If scheduling rule was updated or not updated
+ * @since 5.0
+ */
+function updateSchedulingRule($rule_id, $script, $vars, $options) {}
+
+/**
+ * Decodes an array of input variables passed to the HTTP job
+ * @return array The job variables
+ * @since 5.0
+ */
+function getCurrentJobParams() {}
+
+/**
+ * Reports job completion status (OK or FAILED) back to the daemon
+ * @param $completion int
+ * @param $msg string
+ * @since 5.0
+ */
+function setCurrentJobStatus($completion, $msg) {}
+
+}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Loader.php b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Loader.php
new file mode 100644
index 000000000..9afa7a4ac
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Loader.php
@@ -0,0 +1,103 @@
+<?php
+/**
+ * Checks the Zend Optimizer+ configuration to verify that it is configured to load encoded files
+ * @return boolean Returns TRUE if the Guard Loader is configured to load encoded files. Returns FALSE if the Guard Loader is not configured to load encoded files.
+ * @since 4.0
+ */
+function zend_loader_enabled() {}
+
+/**
+ * Returns TRUE if the current file was encoded with Zend Guard or FALSE otherwise. If FALSE, consider disabling the Guard Loader
+ * @return boolean TRUE if Zend-encoded, FALSE otherwise
+ * @since 4.0
+ */
+function zend_loader_file_encoded() {}
+
+/**
+ * Compares the signature of the running file against the signatures of the license files that are loaded into the License Registry by the php.ini file. If a valid license file exists, the values of the license file are read into an array. If a valid license does not exist or is not specified in the php.ini, it is not entered in the PHP server's license registry. If a valid license that matches the product and signature cannot be found in the license directory, an array is not created. For information on the proper installation of a license file, as well as the php.ini directive, see the Zend Guard User Guide
+ * @return array Returns an array or FALSE.<br> If an array is returned, a valid license for the product exists in the location indicated in the php.ini file.
+ * @since 4.0
+ */
+function zend_loader_file_licensed() {}
+
+/**
+ * Obtains the full path to the file that is currently running. In other words, the path of the file calling this API function is evaluated only at run time and not during encoding
+ * @return string Returns a string containing the full path of the file that is currently running
+ * @since 4.0
+ */
+function zend_loader_current_file() {}
+
+/**
+ * Dynamically loads a license for applications encoded with Zend Guard.
+ * @param $license_file string
+ * @param $overwrite boolean[optional]
+ * @return boolean TRUE if the license was loaded successfully, FALSE otherwise
+ * @since 4.0
+ */
+function zend_loader_install_license($license_file, $overwrite = 0) {}
+
+/**
+ * Gets the value of a PHP configuration option - but search in zend.ini first
+ * @internal
+ * @param $option_name string
+ * @return string Value of the option. NULL if not found
+ * @since 4.0
+ */
+function zend_get_cfg_var($option_name) {}
+
+/**
+ * Match the host against masks while they are delimited by delimiter (default ',')
+ * @internal
+ * @param $host string
+ * @param $masks string
+ * @param $delimiter string[optional]
+ * @return boolean TRUE if matched, FALSE otherwise
+ * @since 4.0
+ */
+function zend_match_hostmasks($host, $masks, $delimiter = ',') {}
+
+/**
+ * Obfuscate and return the given function name with the internal obfuscation function
+ * @param $function_name string
+ * @return string Returns the obfuscated form of the given string.
+ * @since 4.0
+ */
+function zend_obfuscate_function_name($function_name) {}
+
+/**
+ * Returns the current obfuscation level support (set by zend_optimizer.obfuscation_level_support) to get information on the product that is currently running.
+ * @return int Current obfuscation level
+ * @since 4.0
+ */
+function zend_current_obfuscation_level() {}
+
+/**
+ * Start runtime-obfuscation support to allow limited mixing of obfuscated and un-obfuscated code
+ * @return boolean TRUE if succeeds, FALSE otherwise
+ * @since 4.0
+ */
+function zend_runtime_obfuscate() {}
+
+/**
+ * Obfuscate and return the given class name with the internal obfuscation function
+ * @param $class_name string
+ * @return string Returns the obfuscated form of the given string
+ * @since 4.0
+ */
+function zend_obfuscate_class_name($class_name) {}
+
+/**
+ * Returns an array of Zend (host) IDs in your system. If all_ids is TRUE, then all IDs are returned, otherwise only IDs considered "primary" are returned
+ * @param $all_ids boolean[optional]
+ * @return array Array of host IDs
+ * @since 4.0
+ */
+function zend_get_id($all_ids = false) {}
+
+/**
+ * Returns Zend Guard Loader version
+ * @return string Zend Guard Loader version
+ * @since 4.0
+ */
+function zend_loader_version() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend MonitorExt.php b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend MonitorExt.php
new file mode 100644
index 000000000..77fd30ea0
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend MonitorExt.php
@@ -0,0 +1,207 @@
+<?php
+/**
+ * Passes an error to the Monitor component with file and line details. This function is used in error handlers. An alternative is to use trigger_error. However, this function does not indicate the file name and line number: It only passes the error message.
+ * @param $errno int
+ * @param $errstr string
+ * @param $errfile string
+ * @param $errline int
+ * @since 4.0
+ */
+function monitor_pass_error($errno, $errstr, $errfile, $errline) {}
+
+/**
+ * Creates a special (custom) event that is generated from your code. The information collected consists of the three following parameters: Class, Text and User Data.
+ * @param $class string
+ * @param $text string
+ * @param $user_data mixed
+ * @since 4.0
+ */
+function monitor_custom_event($class, $text, $user_data) {}
+
+/**
+ * Incorporates the locations of occurrences in the script when there are events that require those location for diagnosing the reason an event occured. Only events of the same type are aggregated. The collected information is viewed in the Zend Server Administration Interface.
+ * @param $hint string
+ * @return void
+ * @since 4.0
+ */
+function monitor_set_aggregation_hint($hint) {}
+
+/**
+ * Enables or disables the event reporting of some event types by passing a bit-mask (as is done in PHP error_reporting), but with the constants listed above, in ZEND_MONITOR_EVENT*.<br> Note: You cannot enable events that are disabled in the Event Rules file
+ * @param $new_error_reporting int[optional]
+ * @return int The previous error_reporting or FALSE if there is an error
+ * @since 4.0
+ */
+function monitor_event_reporting($new_error_reporting = null) {}
+
+/**
+ * Report an Event that is not one of Monitor Events
+ * @param $event_type int[optional]
+ * @param $extra_data string[optional]
+ * @return boolean FALSE in case of an error
+ * @since 4.0
+ */
+function monitor_report_event($event_type = null, $extra_data = 'null') {}
+
+/**
+ * Bitmask Representing all Event Types(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_ALL', '');
+
+/**
+ * Bitmask Representing NO Monitoring Events (for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_NONE', '');
+
+/**
+ * Custom Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_CUSTOM', '');
+
+/**
+ * Function Slow Execution Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_FUNC_SLOW_EXEC', '');
+
+/**
+ * Function Error Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_FUNC_ERR', '');
+
+/**
+ * Request Slow Execution Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_SLOW_EXEC', '');
+
+/**
+ * Request Relative Slow Execution Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_REL_SLOW_EXEC', '');
+
+/**
+ * Request Large Memory Usage Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_LARGE_MEM_USAGE', '');
+
+/**
+ * Request Relative Large Memory Usage Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_REL_LARGE_MEM_USAGE', '');
+
+/**
+ * Request Relateive Large Output Size Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_LARGE_OUT_SIZE', '');
+
+/**
+ * Zend/PHP Error Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_ZEND_ERR', '');
+
+/**
+ * Unhandled Java Exception Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JAVA_EXP', '');
+
+/**
+ * Job Queue - Job Execution Error Event-Type Bitmask
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JQ_JOB_EXEC_ERROR', '');
+
+/**
+ * Job Queue - Job Logical Error Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JQ_JOB_LOGICAL_FAILURE', '');
+
+/**
+ * Job Queue - Job Execution Delayed Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JQ_JOB_EXEC_DELAY', '');
+
+/**
+ * Job Queue - Daemon High Concurrency Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JQ_DAEMON_HIGH_CONCURRENCY_LEVEL', '');
+
+/**
+ * Tracer - Failed to write a dump file Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_ET_TRACER_FILE_WRITE_FAIL', '');
+
+/**
+ * Job Queue - Job Execution Error Event-Type Bitmask
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_JQ_JOB_EXEC_ERROR', '');
+
+/**
+ * Job Queue - Job Logical Error Event-Type
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_JQ_JOB_LOGICAL_FAILURE', '');
+
+/**
+ * Job Queue - Job Execution Delayed Event-Type
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_JQ_JOB_EXEC_DELAY', '');
+
+/**
+ * Job Queue - Daemon High Concurrency Event-Type
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_JQ_DAEMON_HIGH_CONCURRENCY_LEVEL', '');
+
+/**
+ * Tracer - Failed to write a dump file Event-Type
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_TRACER_FILE_WRITE_FAIL', '');
+
+/**
+ * ZSM - Configuration is not matching the cluster
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_ZSM_CONFIGUATION_MISMATCH', '');
+
+/**
+ * ZSM - Node added successfully to the cluster
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_ZSM_NODE_ADDED_SUCCESSFULLY', '');
+
+/**
+ * ZSM - Node is not responding
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_ZSM_NODE_IS_NOT_RESPONDING', '');
+
+/**
+ * ZSM - Node removed successfully from the cluster
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_ZSM_RESTART_FAILED', '');
+
+/**
+ * ZSM - Restart failed
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_TRACER_FILE_WRITE_FAIL', '');
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Optimizer+.php b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Optimizer+.php
new file mode 100644
index 000000000..d6fc36e69
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Optimizer+.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * Resets the contents of the Optimizer+ shared memory storage.<br> Note: This is not an immediate action. The shared memory storage is reset when a request arrives while the shared memory storage is not being used by a script.
+ * @return boolean Returns TRUE unless the Optimizer+ is disabled.
+ * @since 3.6
+ */
+function accelerator_reset() {}
+
+/**
+ * Returns an array with the accelerator status; statistics; accelerated_files; memory status and usage. see returned output below.
+ * @internal
+ * @return array This is a var_dump() of the returned array: array(5) { ["accelerator_enabled"]=> int(1) ["cache_full"]=> bool(false) ["memory_usage"]=> array(4) { ["used_memory"]=> int(221172) ["free_memory"]=> int(66887692) ["wasted_memory"]=> int(0) ["current_wasted_percentage"]=> float(0) } ["accelerator_statistics"]=> array(8) { ["num_cached_scripts"]=> int(1) ["max_cached_scripts"]=> int(3907) ["hits"]=> int(0) ["last_restart_time"]=> int(1201779460) ["misses"]=> int(1) ["blacklist_misses"]=> int(0) ["blacklist_miss_ratio"]=> float(0) ["accelerator_hit_rate"]=> float(0) } ["scripts"]=> array(1) { ["/var/www/localhost/htdocs/acc.php"]=> array(6) { ["full_path"]=> string(33) "/var/www/localhost/htdocs/acc.php" ["hits"]=> int(0) ["memory_consumption"]=> int(2192) ["last_used"]=> string(25) "Thu Jan 31 13:37:40 2008" ["last_used_timestamp"]=> int(1201779460) ["timestamp"]=> int(1200570314) } } }
+ * @since 4.0
+ */
+function accelerator_get_status() {}
+
+/**
+ * Returns an array with a list of directives; version; blacklisted files. See returned output below.
+ * @internal
+ * @return array This is a var_dump() of the returned array: array(3) { ["directives"]=> array(13) { ["zend_accelerator.enable"]=> bool(true) ["zend_accelerator.use_cwd"]=> bool(true) ["zend_accelerator.validate_timestamps"]=> bool(true) ["zend_accelerator.inherited_hack"]=> bool(true) ["zend_accelerator.dups_fix"]=> bool(true) ["zend_accelerator.memory_consumption"]=> int(67108864) ["zend_accelerator.max_accelerated_files"]=> int(2000) ["zend_accelerator.consistency_checks"]=> int(0) ["zend_accelerator.force_restart_timeout"]=> int(180) ["zend_accelerator.revalidate_freq"]=> int(2) ["zend_accelerator.max_wasted_percentage"]=> float(0.05) ["zend_accelerator.blacklist_filename"]=> string(39) "/tmp/user_blacklist.ZendAccelerator.txt" ["zend_accelerator.preferred_memory_model"]=> string(0) "" } ["version"]=> array(2) { ["version"]=> string(9) "4.0.0beta" ["accelerator_product_name"]=> string(16) "Zend Optimizer Plus" } ["blacklist"]=> array(0) { } }
+ * @since 4.0
+ */
+function accelerator_get_configuration() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Page Cache.php b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Page Cache.php
new file mode 100644
index 000000000..c240f6f6e
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5.3/Zend Page Cache.php
@@ -0,0 +1,26 @@
+<?php
+/**
+ * Disables output caching for the current request. This overrides any caching settings that are configured for the current request.
+ * @since 4.0
+ */
+function page_cache_disable_caching() {}
+
+/**
+ * Does not allow the cache to perform compression on the output of the current request. This overrides any compression settings that are configured for this request.
+ * @since 4.0
+ */
+function page_cache_disable_compression() {}
+
+/**
+ * Clears cached contents for all requests that match a specific URL or regular expression
+ * @param $URL string
+ * @since 4.0
+ */
+function page_cache_remove_cached_contents($URL) {}
+
+/**
+ * Clears all cached contents
+ * @since 4.0
+ */
+function page_cache_remove_all_cached_contents() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5/Zend Data Cache.php b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Data Cache.php
new file mode 100644
index 000000000..3a36f7af8
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Data Cache.php
@@ -0,0 +1,69 @@
+<?php
+/**
+ * Stores a variable identified by key into the cache. If a namespace is provided, the key is stored under that namespace. Identical keys can exist under different namespaces
+ * @param $key string
+ * @param $value mixed
+ * @param $ttl int[optional]
+ * @return boolean FALSE if cache storing fails, TRUE otherwise
+ * @since 4.0
+ */
+function zend_shm_cache_store($key, $value, $ttl = 0) {}
+
+/**
+ * Stores a variable identified by a key into the cache. If a namespace is provided, the key is stored under that namespace. Identical keys can exist under different namespaces
+ * @param $key string
+ * @param $value mixed
+ * @param $ttl int[optional]
+ * @return boolean FALSE if cache storing fails, TRUE otherwise
+ * @since 4.0
+ */
+function zend_disk_cache_store($key, $value, $ttl = 0) {}
+
+/**
+ * Fetches data from the cache. The key can be prefixed with a namespace to indicate searching within the specified namespace only. If a namespace is not provided, the Data Cache searches for the key in the global namespace
+ * @param $key mixed
+ * @return mixed FALSE if no data that matches the key is found, else it returns the stored data, If an array of keys is given, then an array which its keys are the original keys and the values are the corresponding stored data values
+ * @since 4.0
+ */
+function zend_shm_cache_fetch($key) {}
+
+/**
+ * Fetches data from the cache. The key can be prefixed with a namespace to indicate searching within the specified namespace only. If a namespace is not provided, the Data Cache searches for the key in the global namespace
+ * @param $key mixed
+ * @return mixed FALSE if no data that matches the key is found, else it returns the stored data, If an array of keys is given, then an array which its keys are the original keys and the values are the corresponding stored data values
+ * @since 4.0
+ */
+function zend_disk_cache_fetch($key) {}
+
+/**
+ * Finds and deletes an entry from the cache, using a key to identify it. The key can be prefixed with a namespace to indicate that the key can be deleted within that namespace only. If a namespace is not provided, the Data Cache searches for the key in the global namespace
+ * @param $key mixed
+ * @return boolean TRUE on success, FALSE on failure.
+ * @since 4.0
+ */
+function zend_shm_cache_delete($key) {}
+
+/**
+ * Finds and deletes an entry from the cache, using a key to identify it. The key can be prefixed with a namespace to indicate that the key can be deleted within that namespace only. If a namespace is not provided, the Data Cache searches for the key in the global namespace
+ * @param $key string
+ * @return boolean TRUE on success, FALSE on failure or when entry doesn't exist.
+ * @since 4.0
+ */
+function zend_disk_cache_delete($key) {}
+
+/**
+ * Deletes all entries from all namespaces in the cache, if a 'namespace' is provided, only the entries in that namespace are deleted
+ * @param $namespace string
+ * @return boolean If the namespace does not exist or there are no items to clear, the function will return TRUE. The function will return FALSE only in case of error.
+ * @since 4.0
+ */
+function zend_shm_cache_clear($namespace) {}
+
+/**
+ * Deletes all entries from all namespaces in the cache, if a 'namespace' is provided, only the entries in that namespace are deleted
+ * @param $namespace string
+ * @return boolean If the namespace does not exist or there are no items to clear, the function will return TRUE. The function will return FALSE only in case of error.
+ * @since 4.0
+ */
+function zend_disk_cache_clear($namespace) {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5/Zend Debugger.php b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Debugger.php
index 38d4472a3..f01496633 100644
--- a/plugins/org.eclipse.php.core/Resources/language/php5/Zend Debugger.php
+++ b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Debugger.php
@@ -1,18 +1,68 @@
<?php
+/**
+ * Prints the string value of a zval
+ * @internal
+ * @param $param mixed
+ * @since 3.6
+ */
+function debugger_print($param) {}
-// Start of Zend Debugger v.
+/**
+ * Obtains the function call stack trace
+ * @internal
+ * @return array the call stack
+ * @since 3.6
+ */
+function get_call_stack() {}
-function debugger_print () {}
+/**
+ * Triggers a debug session from within a script
+ * @since 3.6
+ */
+function debugger_start_debug() {}
-function get_call_stack () {}
+/**
+ * Obtains the pid of the tunnel server
+ * @internal
+ * @return int the pid
+ * @since 3.6
+ */
+function debugger_connector_pid() {}
-function debugger_start_debug () {}
+/**
+ * Initiates a tunnel connection
+ * @return boolean TRUE the connection is established or FALSE could not connect
+ * @since 3.6
+ */
+function debugger_connect() {}
-function debugger_connector_pid () {}
+/**
+ * Obtain the server's start time as recorded by the Zend Debugger
+ * @internal
+ * @return int the server's start time
+ * @since 3.6
+ */
+function debugger_get_server_start_time() {}
-function debugger_connect () {}
+/**
+ * Triggers code coverage check from this line and on
+ * @internal
+ * @since 4.0
+ */
+function xdebug_start_code_coverage() {}
-function debugger_get_server_start_time () {}
+/**
+ * Stops code coverage check from this line and on
+ * @internal
+ * @since 4.0
+ */
+function xdebug_stop_code_coverage() {}
-// End of Zend Debugger v.
-?>
+/**
+ * Get code coverage statistics
+ * @internal
+ * @return array An array which contains the information on code coverage
+ * @since 4.0
+ */
+function xdebug_get_code_coverage() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5/Zend Download Server.php b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Download Server.php
new file mode 100644
index 000000000..233d8170e
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Download Server.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Outputs the contents of a file to a client using the ZDS and terminates the script.
+ * @param $filename string
+ * @param $mime_type string
+ * @param $custom_headers string
+ * @return void
+ */
+function zend_send_file($filename, $mime_type = '', $custom_headers = '') {}
+
+/**
+ * Ouputs the contents of a string buffer to a client using ZDS and terminates the script.
+ * @param $buffer string
+ * @param $mime_type string
+ * @param $custom_headers string
+ * @return void
+ */
+function zend_send_buffer($buffer, $mime_type = '', $custom_headers = '') {}
+
+/**
+ * Returns the download server's process ID.
+ * @return int The download server's process ID.
+ */
+function zds_get_pid() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5/Zend JobQ.php b/plugins/org.eclipse.php.core/Resources/language/php5/Zend JobQ.php
new file mode 100644
index 000000000..199b6ffa8
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5/Zend JobQ.php
@@ -0,0 +1,412 @@
+<?php
+/**
+ * The ZendJobQueue is a PHP class that implements a connection to the Job Queue Daemon
+ * @since 5.0
+ */
+class ZendJobQueue {
+
+/**
+ * A HTTP type of job with an absolute URL
+ * @since 5.0
+ */
+const TYPE_HTTP = "";
+
+/**
+ * A HTTP type of job with a relative URL
+ * @since 5.0
+ */
+const TYPE_HTTP_RELATIVE = "";
+
+/**
+ * A SHELL type of job
+ * @since 5.0
+ */
+const TYPE_SHELL = "";
+
+/**
+ * A low priority job
+ * @since 5.0
+ */
+const PRIORITY_LOW = "";
+
+/**
+ * A normal priority job
+ * @since 5.0
+ */
+const PRIORITY_NORMAL = "";
+
+/**
+ * A high priority job
+ * @since 5.0
+ */
+const PRIORITY_HIGH = "";
+
+/**
+ * An urgent priority job
+ * @since 5.0
+ */
+const PRIORITY_URGENT = "";
+
+/**
+ * The job is waiting to be processed
+ * @since 5.0
+ */
+const STATUS_PENDING = "";
+
+/**
+ * The job is waiting for its predecessor's completion
+ * @since 5.0
+ */
+const STATUS_WAITING_PREDECESSOR = "";
+
+/**
+ * The job is executing
+ * @since 5.0
+ */
+const STATUS_RUNNING = "";
+
+/**
+ * Job execution has been completed successfully
+ * @since 5.0
+ */
+const STATUS_COMPLETED = "";
+
+/**
+ * The job execution failed
+ * @since 5.0
+ */
+const STATUS_FAILED = "";
+
+/**
+ * The job was executed and reported its successful completion status
+ * @since 5.0
+ */
+const STATUS_OK = "";
+
+/**
+ * The job was executed but reported failed completion status
+ * @since 5.0
+ */
+const STATUS_LOGICALLY_FAILED = "";
+
+/**
+ * Job execution timeout
+ * @since 5.0
+ */
+const STATUS_TIMEOUT = "";
+
+/**
+ * A logically removed job
+ * @since 5.0
+ */
+const STATUS_REMOVED = "";
+
+/**
+ * The job is scheduled to be executed at some specific time
+ * @since 5.0
+ */
+const STATUS_SCHEDULED = "";
+
+/**
+ * The job execution is susspended
+ * @since 5.0
+ */
+const STATUS_SUSPENDED = "";
+
+/**
+ * Disable sorting of result set of getJobsList()
+ * @since 5.0
+ */
+const SORT_NONE = "";
+
+/**
+ * Sort result set of getJobsList() by job id
+ * @since 5.0
+ */
+const SORT_BY_ID = "";
+
+/**
+ * Sort result set of getJobsList() by job type
+ * @since 5.0
+ */
+const SORT_BY_TYPE = "";
+
+/**
+ * Sort result set of getJobsList() by job script name
+ * @since 5.0
+ */
+const SORT_BY_SCRIPT = "";
+
+/**
+ * Sort result set of getJobsList() by application name
+ * @since 5.0
+ */
+const SORT_BY_APPLICATION = "";
+
+/**
+ * Sort result set of getJobsList() by job name
+ * @since 5.0
+ */
+const SORT_BY_NAME = "";
+
+/**
+ * Sort result set of getJobsList() by job priority
+ * @since 5.0
+ */
+const SORT_BY_PRIORITY = "";
+
+/**
+ * Sort result set of getJobsList() by job status
+ * @since 5.0
+ */
+const SORT_BY_STATUS = "";
+
+/**
+ * Sort result set of getJobsList() by job predecessor
+ * @since 5.0
+ */
+const SORT_BY_PREDECESSOR = "";
+
+/**
+ * Sort result set of getJobsList() by job persistence flag
+ * @since 5.0
+ */
+const SORT_BY_PERSISTENCE = "";
+
+/**
+ * Sort result set of getJobsList() by job creation time
+ * @since 5.0
+ */
+const SORT_BY_CREATION_TIME = "";
+
+/**
+ * Sort result set of getJobsList() by job schedule time
+ * @since 5.0
+ */
+const SORT_BY_SCHEDULE_TIME = "";
+
+/**
+ * Sort result set of getJobsList() by job start time
+ * @since 5.0
+ */
+const SORT_BY_START_TIME = "";
+
+/**
+ * Sort result set of getJobsList() by job end time
+ * @since 5.0
+ */
+const SORT_BY_END_TIME = "";
+
+/**
+ * Sort result set of getJobsList() in direct order
+ * @since 5.0
+ */
+const SORT_ASC = "";
+
+/**
+ * Sort result set of getJobsList() in reverse order
+ * @since 5.0
+ */
+const SORT_DESC = "";
+
+/**
+ * Constant to report completion status from the jobs using setCurrentJobStatus()
+ * @since 5.0
+ */
+const OK = "";
+
+/**
+ * Constant to report completion status from the jobs using setCurrentJobStatus()
+ * @since 5.0
+ */
+const FAILED = "";
+
+/**
+ * Creates a Zend_JobQueue object connected to a Job Queue daemon.
+ * @param $application string
+ * @param $binding string[optional]
+ * @param $connection_timeout int[optional]
+ * @since 5.0
+ */
+function __construct($application = '', $binding = 'taken from default_binding directive', $connection_timeout = 10) {}
+
+/**
+ * Creates a new URL based job to make the Job Queue Daemon call given $script with given $vars
+ * @param $url string
+ * @param $vars array
+ * @param $options mixed
+ * @return int A job identifier which can be used to retrieve the job status
+ * @since 5.0
+ */
+function createHttpJob($url, $vars, $options) {}
+
+/**
+ * Retrieves status of previously created job identified by $job_id
+ * @param $job_id int
+ * @return array The array contains status, completion status and output of the job
+ * @since 5.0
+ */
+function getJobStatus($job_id) {}
+
+/**
+ * Removes the job from the queue. Makes all dependent jobs fail. In case the job is in progress it will be finished but dependent jobs won't be started anyway. For non-existing jobs the function just returns false. Finished jobs are simply removed from the database
+ * @param $job_id int
+ * @return boolean The job was removed or not removed
+ * @since 5.0
+ */
+function removeJob($job_id) {}
+
+/**
+ * Restart a previously executed Job and all its followers.
+ * @param $job_id int
+ * @return boolean If the job was restarted or not restarted
+ * @since 5.0
+ */
+function restartJob($job_id) {}
+
+/**
+ * Checks if Queue is suspended and returns true or false
+ * @return boolean A Job Queue status
+ * @since 5.0
+ */
+function isSuspended() {}
+
+/**
+ * Checks if the Job Queue Daemon is running
+ * @return boolean Return true if the Job Queue Deamon is running, otherwise it returns false
+ * @since 5.0
+ */
+function isJobQueueDaemonRunning() {}
+
+/**
+ * Suspends the Job Queue so it will accept new jobs, but won't start them. The jobs which were executed during call to this function will be completed
+ * @since 5.0
+ */
+function suspendQueue() {}
+
+/**
+ * Resumes the Job Queue so it will schedule and start queued jobs.
+ * @since 5.0
+ */
+function resumeQueue() {}
+
+/**
+ * Returns internal daemon statistics such as up-time, number of complete jobs, number of failed jobs, number of waiting jobs, number of currently running jobs, etc
+ * @return array Associative array
+ * @since 5.0
+ */
+function getStatistics() {}
+
+/**
+ * Returns the current value of the configuration option of the Job Queue Daemon
+ * @return array Associative array of configuration variables
+ * @since 5.0
+ */
+function getConfig() {}
+
+/**
+ * Re-reads the configuration file of the Job Queue Daemon and reloads all directives that are reloadable
+ * @return boolean If configuration file was loaded successfully or not
+ * @since 5.0
+ */
+function reloadConfig() {}
+
+/**
+ * Returns an associative array with properties of the job with the given id from the daemon database
+ * @param $job_id int
+ * @return array array of job details. The following properties are provided (some of them don't have to always be set): "id" - The job identifier "type" - The job type (see TYPE_* constants) "status" - The job status (see STATUS_* constants) "priority" - The job priority (see PRIORITY_* constants) "persistent" - The persistence flag "script" - The URL or SHELL script name "predecessor" - The job predecessor "name" - The job name "vars" - The input variables or arguments "http_headers" - The additional HTTP headers for HTTP jobs "output" - The output of the job "error" - The error output of the job "creation_time" - The time when the job was created "start_time" - The time when the job was started "end_time" - The time when the job was finished "schedule" - The CRON-like schedule command "schedule_time" - The time when the job execution was scheduled "app_id" - The application name
+ * @since 5.0
+ */
+function getJobInfo($job_id) {}
+
+/**
+ * Returns a list of associative arrays with the properties of the jobs which depend on the job with the given identifier
+ * @param $job_id int
+ * @return array A list of jobs
+ * @since 5.0
+ */
+function getDependentJobs($job_id) {}
+
+/**
+ * Returns a list of associative arrays with properties of jobs which conform to a given query
+ * @param $query array
+ * @param $total int
+ * @return array A list of jobs with their details
+ * @since 5.0
+ */
+function getJobsList($query, $total) {}
+
+/**
+ * Returns an array of application names known by the daemon
+ * @return array A list of applications
+ * @since 5.0
+ */
+function getApplications() {}
+
+/**
+ * Returns an array of all the registered scheduled rules. Each rule is represented by a nested associative array with the following properties: "id" - The scheduling rule identifier "status" - The rule status (see STATUS_* constants) "type" - The rule type (see TYPE_* constants) "priority" - The priority of the jobs created by this rule "persistent" - The persistence flag of the jobs created by this rule "script" - The URL or script to run "name" - The name of the jobs created by this rule "vars" - The input variables or arguments "http_headers" - The additional HTTP headers "schedule" - The CRON-like schedule command "app_id" - The application name associated with this rule and created jobs "last_run" - The last time the rule was run "next_run" - The next time the rule will run
+ * @return array A list of scheduling rules
+ * @since 5.0
+ */
+function getSchedulingRules() {}
+
+/**
+ * Returns an associative array with the properties of the scheduling rule identified by the given argument. The list of the properties is the same as in getSchedulingRule()
+ * @param $rule_id int
+ * @return array Information about the scheduling rule
+ * @since 5.0
+ */
+function getSchedulingRule($rule_id) {}
+
+/**
+ * Deletes the scheduling rule identified by the given $rule_id and scheduled jobs created by this rule
+ * @param $rule_id int
+ * @return boolean If scheduling rule was deleted or not deleted
+ * @since 5.0
+ */
+function deleteSchedulingRule($rule_id) {}
+
+/**
+ * Suspends the scheduling rule identified by given $rule_id and deletes scheduled jobs created by this rule
+ * @param $rule_id int
+ * @return boolean If scheduling rule was suspended or not suspended
+ * @since 5.0
+ */
+function suspendSchedulingRule($rule_id) {}
+
+/**
+ * Resumes the scheduling rule identified by given $rule_id and creates a corresponding scheduled job
+ * @param $rule_id int
+ * @return boolean If the scheduling rule was resumed or not resumed
+ * @since 5.0
+ */
+function resumeSchedulingRule($rule_id) {}
+
+/**
+ * Updates and reschedules the existing scheduling rule
+ * @param $rule_id int
+ * @param $script string
+ * @param $vars array
+ * @param $options array
+ * @return boolean If scheduling rule was updated or not updated
+ * @since 5.0
+ */
+function updateSchedulingRule($rule_id, $script, $vars, $options) {}
+
+/**
+ * Decodes an array of input variables passed to the HTTP job
+ * @return array The job variables
+ * @since 5.0
+ */
+function getCurrentJobParams() {}
+
+/**
+ * Reports job completion status (OK or FAILED) back to the daemon
+ * @param $completion int
+ * @param $msg string
+ * @since 5.0
+ */
+function setCurrentJobStatus($completion, $msg) {}
+
+}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5/Zend Loader.php b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Loader.php
new file mode 100644
index 000000000..9afa7a4ac
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Loader.php
@@ -0,0 +1,103 @@
+<?php
+/**
+ * Checks the Zend Optimizer+ configuration to verify that it is configured to load encoded files
+ * @return boolean Returns TRUE if the Guard Loader is configured to load encoded files. Returns FALSE if the Guard Loader is not configured to load encoded files.
+ * @since 4.0
+ */
+function zend_loader_enabled() {}
+
+/**
+ * Returns TRUE if the current file was encoded with Zend Guard or FALSE otherwise. If FALSE, consider disabling the Guard Loader
+ * @return boolean TRUE if Zend-encoded, FALSE otherwise
+ * @since 4.0
+ */
+function zend_loader_file_encoded() {}
+
+/**
+ * Compares the signature of the running file against the signatures of the license files that are loaded into the License Registry by the php.ini file. If a valid license file exists, the values of the license file are read into an array. If a valid license does not exist or is not specified in the php.ini, it is not entered in the PHP server's license registry. If a valid license that matches the product and signature cannot be found in the license directory, an array is not created. For information on the proper installation of a license file, as well as the php.ini directive, see the Zend Guard User Guide
+ * @return array Returns an array or FALSE.<br> If an array is returned, a valid license for the product exists in the location indicated in the php.ini file.
+ * @since 4.0
+ */
+function zend_loader_file_licensed() {}
+
+/**
+ * Obtains the full path to the file that is currently running. In other words, the path of the file calling this API function is evaluated only at run time and not during encoding
+ * @return string Returns a string containing the full path of the file that is currently running
+ * @since 4.0
+ */
+function zend_loader_current_file() {}
+
+/**
+ * Dynamically loads a license for applications encoded with Zend Guard.
+ * @param $license_file string
+ * @param $overwrite boolean[optional]
+ * @return boolean TRUE if the license was loaded successfully, FALSE otherwise
+ * @since 4.0
+ */
+function zend_loader_install_license($license_file, $overwrite = 0) {}
+
+/**
+ * Gets the value of a PHP configuration option - but search in zend.ini first
+ * @internal
+ * @param $option_name string
+ * @return string Value of the option. NULL if not found
+ * @since 4.0
+ */
+function zend_get_cfg_var($option_name) {}
+
+/**
+ * Match the host against masks while they are delimited by delimiter (default ',')
+ * @internal
+ * @param $host string
+ * @param $masks string
+ * @param $delimiter string[optional]
+ * @return boolean TRUE if matched, FALSE otherwise
+ * @since 4.0
+ */
+function zend_match_hostmasks($host, $masks, $delimiter = ',') {}
+
+/**
+ * Obfuscate and return the given function name with the internal obfuscation function
+ * @param $function_name string
+ * @return string Returns the obfuscated form of the given string.
+ * @since 4.0
+ */
+function zend_obfuscate_function_name($function_name) {}
+
+/**
+ * Returns the current obfuscation level support (set by zend_optimizer.obfuscation_level_support) to get information on the product that is currently running.
+ * @return int Current obfuscation level
+ * @since 4.0
+ */
+function zend_current_obfuscation_level() {}
+
+/**
+ * Start runtime-obfuscation support to allow limited mixing of obfuscated and un-obfuscated code
+ * @return boolean TRUE if succeeds, FALSE otherwise
+ * @since 4.0
+ */
+function zend_runtime_obfuscate() {}
+
+/**
+ * Obfuscate and return the given class name with the internal obfuscation function
+ * @param $class_name string
+ * @return string Returns the obfuscated form of the given string
+ * @since 4.0
+ */
+function zend_obfuscate_class_name($class_name) {}
+
+/**
+ * Returns an array of Zend (host) IDs in your system. If all_ids is TRUE, then all IDs are returned, otherwise only IDs considered "primary" are returned
+ * @param $all_ids boolean[optional]
+ * @return array Array of host IDs
+ * @since 4.0
+ */
+function zend_get_id($all_ids = false) {}
+
+/**
+ * Returns Zend Guard Loader version
+ * @return string Zend Guard Loader version
+ * @since 4.0
+ */
+function zend_loader_version() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5/Zend MonitorExt.php b/plugins/org.eclipse.php.core/Resources/language/php5/Zend MonitorExt.php
new file mode 100644
index 000000000..77fd30ea0
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5/Zend MonitorExt.php
@@ -0,0 +1,207 @@
+<?php
+/**
+ * Passes an error to the Monitor component with file and line details. This function is used in error handlers. An alternative is to use trigger_error. However, this function does not indicate the file name and line number: It only passes the error message.
+ * @param $errno int
+ * @param $errstr string
+ * @param $errfile string
+ * @param $errline int
+ * @since 4.0
+ */
+function monitor_pass_error($errno, $errstr, $errfile, $errline) {}
+
+/**
+ * Creates a special (custom) event that is generated from your code. The information collected consists of the three following parameters: Class, Text and User Data.
+ * @param $class string
+ * @param $text string
+ * @param $user_data mixed
+ * @since 4.0
+ */
+function monitor_custom_event($class, $text, $user_data) {}
+
+/**
+ * Incorporates the locations of occurrences in the script when there are events that require those location for diagnosing the reason an event occured. Only events of the same type are aggregated. The collected information is viewed in the Zend Server Administration Interface.
+ * @param $hint string
+ * @return void
+ * @since 4.0
+ */
+function monitor_set_aggregation_hint($hint) {}
+
+/**
+ * Enables or disables the event reporting of some event types by passing a bit-mask (as is done in PHP error_reporting), but with the constants listed above, in ZEND_MONITOR_EVENT*.<br> Note: You cannot enable events that are disabled in the Event Rules file
+ * @param $new_error_reporting int[optional]
+ * @return int The previous error_reporting or FALSE if there is an error
+ * @since 4.0
+ */
+function monitor_event_reporting($new_error_reporting = null) {}
+
+/**
+ * Report an Event that is not one of Monitor Events
+ * @param $event_type int[optional]
+ * @param $extra_data string[optional]
+ * @return boolean FALSE in case of an error
+ * @since 4.0
+ */
+function monitor_report_event($event_type = null, $extra_data = 'null') {}
+
+/**
+ * Bitmask Representing all Event Types(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_ALL', '');
+
+/**
+ * Bitmask Representing NO Monitoring Events (for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_NONE', '');
+
+/**
+ * Custom Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_CUSTOM', '');
+
+/**
+ * Function Slow Execution Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_FUNC_SLOW_EXEC', '');
+
+/**
+ * Function Error Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_FUNC_ERR', '');
+
+/**
+ * Request Slow Execution Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_SLOW_EXEC', '');
+
+/**
+ * Request Relative Slow Execution Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_REL_SLOW_EXEC', '');
+
+/**
+ * Request Large Memory Usage Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_LARGE_MEM_USAGE', '');
+
+/**
+ * Request Relative Large Memory Usage Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_REL_LARGE_MEM_USAGE', '');
+
+/**
+ * Request Relateive Large Output Size Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_REQ_LARGE_OUT_SIZE', '');
+
+/**
+ * Zend/PHP Error Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_ZEND_ERR', '');
+
+/**
+ * Unhandled Java Exception Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JAVA_EXP', '');
+
+/**
+ * Job Queue - Job Execution Error Event-Type Bitmask
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JQ_JOB_EXEC_ERROR', '');
+
+/**
+ * Job Queue - Job Logical Error Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JQ_JOB_LOGICAL_FAILURE', '');
+
+/**
+ * Job Queue - Job Execution Delayed Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JQ_JOB_EXEC_DELAY', '');
+
+/**
+ * Job Queue - Daemon High Concurrency Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_JQ_DAEMON_HIGH_CONCURRENCY_LEVEL', '');
+
+/**
+ * Tracer - Failed to write a dump file Event-Type Bitmask(for monitor_event_reporting)
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ETBM_ET_TRACER_FILE_WRITE_FAIL', '');
+
+/**
+ * Job Queue - Job Execution Error Event-Type Bitmask
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_JQ_JOB_EXEC_ERROR', '');
+
+/**
+ * Job Queue - Job Logical Error Event-Type
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_JQ_JOB_LOGICAL_FAILURE', '');
+
+/**
+ * Job Queue - Job Execution Delayed Event-Type
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_JQ_JOB_EXEC_DELAY', '');
+
+/**
+ * Job Queue - Daemon High Concurrency Event-Type
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_JQ_DAEMON_HIGH_CONCURRENCY_LEVEL', '');
+
+/**
+ * Tracer - Failed to write a dump file Event-Type
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_TRACER_FILE_WRITE_FAIL', '');
+
+/**
+ * ZSM - Configuration is not matching the cluster
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_ZSM_CONFIGUATION_MISMATCH', '');
+
+/**
+ * ZSM - Node added successfully to the cluster
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_ZSM_NODE_ADDED_SUCCESSFULLY', '');
+
+/**
+ * ZSM - Node is not responding
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_ZSM_NODE_IS_NOT_RESPONDING', '');
+
+/**
+ * ZSM - Node removed successfully from the cluster
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_ZSM_RESTART_FAILED', '');
+
+/**
+ * ZSM - Restart failed
+ * @since 4.0
+ */
+define('ZEND_MONITOR_ET_TRACER_FILE_WRITE_FAIL', '');
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5/Zend Optimizer+.php b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Optimizer+.php
new file mode 100644
index 000000000..d6fc36e69
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Optimizer+.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * Resets the contents of the Optimizer+ shared memory storage.<br> Note: This is not an immediate action. The shared memory storage is reset when a request arrives while the shared memory storage is not being used by a script.
+ * @return boolean Returns TRUE unless the Optimizer+ is disabled.
+ * @since 3.6
+ */
+function accelerator_reset() {}
+
+/**
+ * Returns an array with the accelerator status; statistics; accelerated_files; memory status and usage. see returned output below.
+ * @internal
+ * @return array This is a var_dump() of the returned array: array(5) { ["accelerator_enabled"]=> int(1) ["cache_full"]=> bool(false) ["memory_usage"]=> array(4) { ["used_memory"]=> int(221172) ["free_memory"]=> int(66887692) ["wasted_memory"]=> int(0) ["current_wasted_percentage"]=> float(0) } ["accelerator_statistics"]=> array(8) { ["num_cached_scripts"]=> int(1) ["max_cached_scripts"]=> int(3907) ["hits"]=> int(0) ["last_restart_time"]=> int(1201779460) ["misses"]=> int(1) ["blacklist_misses"]=> int(0) ["blacklist_miss_ratio"]=> float(0) ["accelerator_hit_rate"]=> float(0) } ["scripts"]=> array(1) { ["/var/www/localhost/htdocs/acc.php"]=> array(6) { ["full_path"]=> string(33) "/var/www/localhost/htdocs/acc.php" ["hits"]=> int(0) ["memory_consumption"]=> int(2192) ["last_used"]=> string(25) "Thu Jan 31 13:37:40 2008" ["last_used_timestamp"]=> int(1201779460) ["timestamp"]=> int(1200570314) } } }
+ * @since 4.0
+ */
+function accelerator_get_status() {}
+
+/**
+ * Returns an array with a list of directives; version; blacklisted files. See returned output below.
+ * @internal
+ * @return array This is a var_dump() of the returned array: array(3) { ["directives"]=> array(13) { ["zend_accelerator.enable"]=> bool(true) ["zend_accelerator.use_cwd"]=> bool(true) ["zend_accelerator.validate_timestamps"]=> bool(true) ["zend_accelerator.inherited_hack"]=> bool(true) ["zend_accelerator.dups_fix"]=> bool(true) ["zend_accelerator.memory_consumption"]=> int(67108864) ["zend_accelerator.max_accelerated_files"]=> int(2000) ["zend_accelerator.consistency_checks"]=> int(0) ["zend_accelerator.force_restart_timeout"]=> int(180) ["zend_accelerator.revalidate_freq"]=> int(2) ["zend_accelerator.max_wasted_percentage"]=> float(0.05) ["zend_accelerator.blacklist_filename"]=> string(39) "/tmp/user_blacklist.ZendAccelerator.txt" ["zend_accelerator.preferred_memory_model"]=> string(0) "" } ["version"]=> array(2) { ["version"]=> string(9) "4.0.0beta" ["accelerator_product_name"]=> string(16) "Zend Optimizer Plus" } ["blacklist"]=> array(0) { } }
+ * @since 4.0
+ */
+function accelerator_get_configuration() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5/Zend Page Cache.php b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Page Cache.php
new file mode 100644
index 000000000..e53bd76b2
--- /dev/null
+++ b/plugins/org.eclipse.php.core/Resources/language/php5/Zend Page Cache.php
@@ -0,0 +1,26 @@
+<?php
+/**
+ * Disables output caching for the current request. This overrides any caching settings that are configured for the current request.
+ * @since 4.0
+ */
+function page_cache_disable_caching() {}
+
+/**
+ * Does not allow the cache to perform compression on the output of the current request. This overrides any compression settings that are configured for this request.
+ * @since 4.0
+ */
+function page_cache_disable_compression() {}
+
+/**
+ * Clears cached contents for all requests that match a specific URL or regular expression
+ * @param $URL string
+ * @since 4.0
+ */
+function page_cache_remove_cached_contents($URL) {}
+
+/**
+ * Clears all cached contents
+ * @since 4.0
+ */
+function page_cache_remove_all_cached_contents() {}
+?> \ No newline at end of file
diff --git a/plugins/org.eclipse.php.core/Resources/language/php5/zend.php b/plugins/org.eclipse.php.core/Resources/language/php5/zend.php
deleted file mode 100644
index 8e5949cd3..000000000
--- a/plugins/org.eclipse.php.core/Resources/language/php5/zend.php
+++ /dev/null
@@ -1,835 +0,0 @@
-<?php
-
-// Start of Zend Extensions
-
-// Constants for jobs status
-define('JOB_QUEUE_STATUS_SUCCESS', 1); // Job was processed and succeeded
-define('JOB_QUEUE_STATUS_WAITING', 2); // Job is waiting for being processed (was not scheduled)
-define('JOB_QUEUE_STATUS_SUSPENDED', 3); // Job was suspended
-define('JOB_QUEUE_STATUS_SCHEDULED', 4); // Job is scheduled and waiting in queue
-define('JOB_QUEUE_STATUS_WAITING_PREDECESSOR', 5); // Job is waiting for it's predecessor to be completed
-define('JOB_QUEUE_STATUS_IN_PROCESS', 6); // Job is in process in Queue
-define('JOB_QUEUE_STATUS_EXECUTION_FAILED', 7); // Job execution failed in the ZendEnabler
-define('JOB_QUEUE_STATUS_LOGICALLY_FAILED', 8); // Job was processed and failed logically either
- // because of job_fail command or script parse or
- // fatal error
-
-// Constants for different priorities of jobs
-define('JOB_QUEUE_PRIORITY_LOW', 0);
-define('JOB_QUEUE_PRIORITY_NORMAL', 1);
-define('JOB_QUEUE_PRIORITY_HIGH', 2);
-define('JOB_QUEUE_PRIORITY_URGENT', 3);
-
-// Constants for saving global variables bit mask
-define('JOB_QUEUE_SAVE_POST', 1);
-define('JOB_QUEUE_SAVE_GET', 2);
-define('JOB_QUEUE_SAVE_COOKIE', 4);
-define('JOB_QUEUE_SAVE_SESSION', 8);
-define('JOB_QUEUE_SAVE_RAW_POST', 16);
-define('JOB_QUEUE_SAVE_SERVER', 32);
-define('JOB_QUEUE_SAVE_FILES', 64);
-define('JOB_QUEUE_SAVE_ENV', 128);
-
-
-/**
- * causes a job to fail logically
- * can be used to indicate an error in the script logic (e.g. database connection problem)
- * @param string $error_string the error string to display
- */
-set_job_failed( $error_string );
-
-
-
-/**
- * returns array containing following fields:
- * "license_ok" - whether license allows use of JobQueue
- * "expires" - license expiration date
- */
-jobqueue_license_info();
-
-
-class ZendAPI_Queue {
- var $_jobqueue_url;
-
- /**
- * Constructor for a job queue connection
- *
- * @param string $jobqueue_url Full address where the queue is in the form host:port
- * @return zendapi_queue object
- */
- function zendapi_queue($queue_url) {}
-
- /**
- * Open a connection to a job queue
- *
- * @param string $password For authentication, password must be specified to connect to a queue
- * @param int $application_id Optional, if set, all subsequent calls to job related methods will use this application id (unless explicitly specified otherwise). I.e. When adding new job,
- unless this job already set an application id, the job will be assigned the queue application id
- * @return bool Success
- */
- function login($password, $application_id=null) {}
-
-
- /**
- * Insert a new job to the queue, the Job is passed by reference because
- its new job ID and status will be set in the Job object
- * If the returned job id is 0 it means the job could be added to the queue
- *
- * @param Job $job The Job we want to insert to the queue (by ref.)
- * @return int The inserted job id
- */
- function addJob(&$job) {}
-
-
- /**
- * Return a Job object that describing a job in the queue
- *
- * @param int $job_id The job id
- * @return Job Object describing a job in the queue
- */
- function getJob($job_id) {}
-
- /**
- * Update an existing job in the queue with it's new properties. If job doesn't exists,
- a new job will be added. Job is passed by reference and it's updated from the queue.
- *
- * @param Job $job The Job object, the ID of the given job is the id of the job we try to update.
- If the given Job doesn't have an assigned ID, a new job will be added
- * @return int The id of the updated job
- */
- function updateJob(&$job) {}
-
- /**
- * Remove a job from the queue
- *
- * @param int|array $job_id The job id or array of job ids we want to remove from the queue
- * @return bool Success/Failure
- */
- function removeJob($job_id) {}
-
-
- /**
- * Suspend a job in the queue (without removing it)
- *
- * @param int|array $job_id The job id or array of job ids we want to suspend
- * @return bool Success/Failure
- */
- function suspendJob($job_id) {}
-
-
- /**
- * Resume a suspended job in the queue
- *
- * @param int|array $job_id The job id or array of job ids we want to resume
- * @return bool Success/Failure (if the job wasn't suspended, the function will return false)
- */
- function resumeJob($job_id) {}
-
-
- /**
- * Requeue failed job back to the queue.
- *
- * @param job $job job object to re-query
- * @return bool - true or false.
- */
- function requeueJob($job) {}
-
-
- /**
- * returns job statistics
- * @return array with the following:
- "total_complete_jobs"
- "total_incomplete_jobs"
- "average_time_in_queue" [msec]
- "average_waiting_time" [sec]
- "added_jobs_in_window"
- "activated_jobs_in_window"
- "completed_jobs_in_window"
- * moving window size can be set through ini file
- */
- function getStatistics() {}
-
-
- /**
- * Returns whether a script exists in the document root
- * @param string $path relative script path
- * @return bool - TRUE if script exists in the document root FALSE otherwise
- */
- function isScriptExists($path) {}
-
-
- /**
- * Returns whether the queue is suspended
- * @return bool - TRUE if job is suspended FALSE otherwise
- */
- function isSuspend() {}
-
-
- /**
- * Return a list of jobs in the queue according to the options given in the filter_options parameter, doesn't return jobs in "final states" (failed, complete)
- * If application id is set for this queue, only jobs with this application id will be returned
- *
- * @param array $filter_options Array of optional filter options to filter the jobs we want to get
- from the queue. If not set, all jobs will be returned.<br>
- * Options can be: priority, application_id, name, status, recurring.
- * @param int max_jobs Maximum jobs to retrive. Default is -1, getting all jobs available.
- * @param bool with_globals_and_output. Whether gets the global variables dataand job output.
- * Default is false.
- * @return array. Jobs that satisfies filter_options.
- */
- function getJobsInQueue($filter_options=null, $max_jobs=-1, $with_globals_and_output=false) {}
-
-
- /**
- * Return the number of jobs in the queue according to the options given in the filter_options parameter
- * @param array $filter_options Array of optional filter options to filter the jobs we want to get from the queue. If not set, all jobs will be counted.<br>
- * Options can be: priority, application_id, host, name, status, recurring.
- * @return int. Number of jobs that satisfy filter_options.
- */
- function getNumOfJobsInQueue($filter_options=null) {}
-
-
- /**
- * Return all the hosts that jobs were submitted from.
- * @return array.
- */
- function getAllhosts() {}
-
-
- /**
- * Return all the application ids exists in queue.
- * @return array.
- */
- function getAllApplicationIDs() {}
-
-
-
- /**
- * Return finished jobs (either failed or successed) between time range allowing paging.
- * Jobs are sorted by job id descending.
- *
- * @param int $status. Filter to jobs by status, 1-success, 0-failed either logical or execution.
- * @param UNIX timestamp $start_time. Get only jobs finished after $start_time.
- * @param UNIX timestamp $end_time. Get only jobs finished before $end_time.
- * @param int $index. Get jobs starting from the $index-th place.
- * @param int $count. Get only $count jobs.
- * @param int $total. Pass by reference. Return the total number of jobs statisifed the query criteria.
- *
- * @return array of jobs.
- */
- function getHistoricJobs($status, $start_time, $end_time, $index, $count, &$total) {}
-
-
- /**
- * Suspends queue operation
- * @return bool - TRUE if successful FALSE otherwise
- */
- function suspendQueue() {}
-
-
- /**
- * Resumes queue operation
- * @return bool - TRUE if successful FALSE otherwise
- */
- function resumeQueue() {}
-
-
- /**
- * Return description of the last error occured in the queue object. After every
- * method invoked an error string describing the error is store in the queue object.
- * @return string.
- */
- function getLastError() {}
-
-
- /**
- * Sets a new maximum time for keeping historic jobs
- * @return bool - TRUE if successful FALSE otherwise
- */
- function setMaxHistoryTime() {}
-}
-
-/**
- * Describing a job in a queue
- * In order to add/modify a job in the queue, a Job class must be created/retrieved and than saved in a queue
- *
- * For simplicity, a job can be added directly to a queue and without creating an instant of a Queue object
- */
-class ZendAPI_Job {
-
- /**
- * Unique id of the Job in the job queue
- *
- * @var int
- */
- var $_id;
-
- /**
- * Full path of the script that this job calls when it's processed
- *
- * @var string
- */
- var $_script;
-
- /**
- * The host that the job was submit from
- *
- * @var string
- */
- var $_host;
-
- /**
- * A short string describing the job
- *
- * @var string
- */
- var $_name;
-
-
- /**
- * The job output after executing
- *
- * @var string
- */
- var $_output;
-
- /**
- * The status of the job
- * By default, the job status is waiting to being execute.
- * The status is determent by the queue and can not be modify by the user.
- *
- * @var int
- */
- var $_status = JOB_QUEUE_STATUS_WAITING;
-
- /**
- * The application id of the job
- * If the application id is not set, this job may get an application id automatically from the queue
- * (if the queue was assigned one). By default it is null (which indicates no application id is assigned)
- *
- * @var string
- */
- var $_application_id = null;
-
- /**
- * The priority of the job, options are the priority constants
- * By default the priority is set to normal (JOB_QUEUE_PRIORITY_NORMAL)
- *
- * @var int
- */
- var $_priority = JOB_QUEUE_PRIORITY_NORMAL;
-
- /**
- * Array holding all the variables that the user wants the job's script to have when it's called
- * The structure is variable_name => variable_value
- i.e. if the user_variables array is array('my_var' => 8), when the script is called,
- a global variable called $my_var will have the int value of 8
- * By default there are no variables that we want to add to the job's script
- *
- * @var array
- */
- var $_user_variables = array();
-
- /**
- * Bit mask holding the global variables that the user want the job's script to have when it's called
- * Options are prefixed with "JOB_QUEUE_SAVE_" and may be:
- POST|GET|COOKIE|SESSION|RAW_POST|SERVER|FILES|ENV
- * By default there are no global variables we want to add to the job's script
- * i.e. In order to save the current GET and COOKIE global variables,
- this property should be JOB_QUEUE_SAVE_GET|JOB_QUEUE_SAVE_COOKIE (or the integer 6)
- In that case (of GET and COOKIE), when the job is added, the current $_GET and
- $_COOKIE variables should be saved, and when the job's script is called,
- those global variables should be populated
- *
- * @var int
- */
- var $_global_variables = 0;
-
- /**
- * The job may have a dependency (another job that must be performed before this job)
- * This property hold the id of the job that must be performed. if this variable is an array of integers,
- it means that there are several jobs that must be performed before this job
- * By default there are no dependencies
- *
- * @var mixed (int|array)
- */
- var $_predecessor = null;
-
- /**
- * The time that this job should be performed, this variables is the UNIX timestamp.
- * If set to 0, it means that the job should be performed now (or at least as soon as possible)
- * By default there is no scheduled time, which means we want to perform the job as soon as possible
- *
- * @var int
- */
- var $_scheduled_time = 0;
-
- /**
- * The job running frequency in seconds. The job should run every _internal seconds
- * This property applys only to recurrent job.
- * By default, its value is 0 e.g. run it only once.
- *
- * @var int
- */
- var $_interval = 0;
-
- /**
- * UNIX timestamp that it's the last time this job should occurs. If _interval was set, and _end_time
- * was not, then this job will run forever.
- * By default there is no end_time, so recurrent job will run forever. If the job is not recurrent
- * (occurs only once) then the job will run at most once. If end_time has reached and the job was not
- * execute yet, it will not run.
- *
- * @var int
- */
- var $_end_time = null;
-
-
- /**
- * A bit that determine whether job can be deleted from history. When set, removeJob will not
- * delete the job from history.
- *
- * @var int
- */
- var $_preserved = 0;
-
-
- /**
- * Instantiate a Job object, describe all the information and properties of a job
- *
- * @param script $script relative path (relative to document root supplied in ini file) of the script this job should call when it's executing
- * @return Job
- */
- function ZendAPI_Job($script) {}
-
-
- /**
- * Add the job the the specified queue (without instantiating a JobQueue object)
- * This function should be used for extreme simplicity of the user when adding a single job,
- when the user want to insert more than one job and/or manipulating other jobs (or job tasks)
- he should create and use the JobQueue object
- * Actually what this function do is to create a new JobQueue, login to it (with the given parameters),
- add this job to it and logout
- *
- * @param string $jobqueue_url Full address of the queue we want to connect to
- * @param string $password For authentication, the queue password
- * @return int The added job id or false on failure
- */
- function addJobToQueue($jobqueue_url, $password) {}
-
-
- /**
- * Set a new priority to the job
- *
- * @param int $priority Priority options are constants with the "JOB_QUEUE_PRIORITY_" prefix
- */
- function setJobPriority($priority) {}
-
- // All properties SET functions
- function setJobName($name) {}
- function setScript($script) {}
- function setApplicationID($app_id) {}
- function setUserVariables($vars) {}
- function setGlobalVariables($vars) {}
- function setJobDependency($job_id) {}
- function setScheduledTime($timestamp) {}
- function setRecurrenceData($interval, $end_time=null) {}
- function setPreserved($preserved) {}
-
- /**
- * Get the job properties
- *
- * @return array The same format of job options array as in the Job constructor
- */
- function getProperties() {}
-
- /**
- * Get the job output
- *
- * @return An HTML representing the job output
- */
- function getOutput() {}
-
- // All properties GET functions
- function getID() {}
- function getHost() {}
- function getScript() {}
- function getJobPriority() {}
- function getJobName() {}
- function getApplicationID() {}
- function getUserVariables() {}
- function getGlobalVariables() {}
- function getJobDependency() {}
- function getScheduledTime() {}
- function getInterval() {}
- function getEndTime() {}
- function getPreserved() {}
-
- /**
- * Get the current status of the job
- * If this job was created and not returned from a queue (using the JobQueue::GetJob() function),
- * the function will return false
- * The status is one of the constants with the "JOB_QUEUE_STATUS_" prefix.
- * E.g. job was performed and failed, job is waiting etc.
- *
- * @return int
- */
- function getJobStatus() {}
-
- /**
- * Get how much seconds there are until the next time the job will run.
- * If the job is not recurrence or it past its end time, then return 0.
- *
- * @return int
- */
- function getTimeToNextRepeat() {}
-
- /**
- * For recurring job get the status of the last execution. For simple job,
- * getLastPerformedStatus is equivalent to getJobStatus.
- * jobs that haven't been executed yet will return STATUS_WAITING
- * @return int
- */
- function getLastPerformedStatus() {}
-
-}
-
-
-/**
- * Disable/enable the Code Acceleration functionality at run time.
- * @param status bool If false, Acceleration is disabled, if true - enabled
- * @return void
- */
-function accelerator_set_status($status) {}
-
-/**
- * Disables output caching for currently running scripts.
- * @return void
- */
-function output_cache_disable() {}
-
-/**
- * Does not allow the cache to perform compression on the output of the current page.
- * This output will not be compressed, even if the global set tings would normally allow
- * compression on files of this type.
- * @return void
- */
-function output_cache_disable_compression() {}
-
-/**
- * Gets the code’s return value from the cache if it is there, if not - run function and cache the value.
- * @param key string cache key
- * @param function string PHP expression
- * @param lifetime int data lifetime in cache (seconds)
- * @return string function's return
- */
-function output_cache_fetch($key, $function, $lifetime) {}
-
-/**
- * If they cache for the key exists, output it, otherwise capture expression output, cache and pass it out.
- * @param key string cache key
- * @param function string PHP expression
- * @param lifetime int data lifetime in cache (seconds)
- * @return expression output
- */
-function output_cache_output($key, $function, $lifetime) {}
-
-/**
- * Removes all the cache data for the given filename.
- * @param filename string full script path on local filesystem
- * @return bool true if OK, false if something went wrong
- */
-function output_cache_remove($filename) {}
-
-/**
- * Remove cache data for the script with given URL (all dependent data is removed)
- * @param url string the local url for the script
- * @return bool true if OK
- */
-function output_cache_remove_url($url) {}
-
-/**
- * Remove item from PHP API cache by key
- * @param key string cache key as given to output_cache_get/output_cache_put
- * @return bool true if OK
- */
-function output_cache_remove_key($key) {}
-
-/**
- * Puts data in cache according to the assigned key.
- * @param key string cache key
- * @param data mixed cached data (must not contain objects or resources)
- * @return bool true if OK
- */
-function output_cache_put($key, $data) {}
-
-/**
- * Gets cached data according to the assigned key.
- * @param key string cache key
- * @param lifetime int cache validity time (seconds)
- * @return mixed cached data if cache exists, false otherwise
- */
-function output_cache_get($key, $lifetime) {}
-
-/**
- * If data for assigned key exists, this function outputs it and returns a value of true.
- * If not, it starts capturing the output. To be used in pair with output_cache_stop.
- * @param key string cache key
- * @param lifetime int cache validity time (seconds)
- * @return bool true if cached data exists
- */
-function output_cache_exists($key, $lifetime) {}
-
-/**
- * If output was captured by output_cache_exists, this function stops the output capture and stores
- * the data under the key that was given to output_cache_exists().
- * @return void
- */
-function output_cache_stop() {}
-
-
-/**
- * Should be called from a custom error handler to pass the error to the monitor.
- * The user function needs to accept two parameters: the error code, and a string describing the error.
- * Then there are two optional parameters that may be supplied: the filename in which the error occurred
- * and the line number in which the error occurred.
- * @param errno int
- * @param errstr string
- * @param errfile string
- * @param errline integer
- * @return void
- */
-function monitor_pass_error($errno, $errstr, $errfile, $errline) {}
-
-/**
- * Limited in the database to 255 chars
- * @param hint string
- * @return void
- */
-function monitor_set_aggregation_hint($hint) {}
-
-/**
- * Creates a custom event with class $class, text $text and possibly severity and other user data
- * @param class string
- * @param text string
- * @param severe int[optional]
- * @param user_data mixed[optional]
- * @return void
- */
-function monitor_custom_event($class, $text, $severe = null, $user_data = null) {}
-
-/**
- * Create an HTTPERROR event
- * @param error_code int the http error code to be associated with this event
- * @param url string the URL to be associated with this event
- * @param severe int[optional] the severety of the event: 0 - not severe, 1 - severe
- * @return void
- */
-function monitor_httperror_event($error_code, $url, $severe = null) {}
-
-/**
- * Returns an array containing information about
- * <li>module loading status (and cause of error if module failed to load)
- * <li>module license status (and cause of error if license not valid)
- * @return array
- */
-function monitor_license_info() {}
-
-/**
- * Allow you to register a user function as an event handler.When a monitor event is triggerd
- * all the user event handler are called and the return value from the handler is saved in
- * an array keyed by the name the event handler was registered under. The event handlers
- * results array is saved in the event_extra_data table.
- * @param event_handler_func string The callback function that will be call when the event is triggered, object methods may also be invoked statically using t
-his function by passing array($objectname, $methodname) to the function parameter
- * @param handler_register_name string[optional] The name this function is registered under - if none is supplied, the function will be registerd under it's own name
- * @param event_type_mask int The mask of event types that the handler should be called on by default it's set to MONITOR_EVENT_ALL.
- * @return bool TRUE on sucess and FALSE if an error occurs.
- */
-function register_event_handler($event_handler_func, $handler_register_name, $event_type_mask) {}
-
-/**
- * Allow you to unregister an event handler.
- * @param handler_name string the name you registered with the handler you now wish to unregister.
- * @return bool TRUE on sucess and FALSE if no handler we registered under the given name.
- */
-function unregister_event_handler($handler_name) {}
-
-/**
- * Send a file using ZDS
- * @param filename string path to the file
- * @param mime_type string[optional] MIME type of the file, if omitted, taken from configured MIME types file
- * @param custom_headers string[optional] user defined headers that will be send instead of regular ZDS headers. few basic essential headers will be send anyway
- * @return bool FALSE if sending file failed, does not return otherwise
- */
-function zend_send_file($filename, $mime_type, $custom_headers) {}
-
-/**
- * Send a buffer using ZDS
- * @param buffer string the content that will be send
- * @param mime_type string[optional] MIME type of the buffer, if omitted, taken from configured MIME types file
- * @param custom_headers string[optional] user defined headers that will be send instead of regular ZDS headers. few basic essential headers will be send anyway
- * @return bool FALSE if sending file failed, does not return otherwise
- */
-function zend_send_buffer($buffer, $mime_type, $custom_headers) {}
-
-
-class java {
- /**
- * Create Java object
- *
- * @return java
- * @param classname string
- * @vararg ...
- */
- function java($classname) {}
-
-};
-
-class JavaException {
- /**
- * Get Java exception that led to this exception
- *
- * @return object
- */
- function getCause() {}
-
-};
-
-
-/**
- * Create Java object
- *
- * @return object
- * @param class string
- * @vararg ...
- */
-function java($class) {}
-
-
-/**
- * Return Java exception object for last exception
- * @return object Java Exception object, if there was an exception, false otherwise
- */
-function java_last_exception_get() {}
-
-/**
- * Clear last Java exception object record.
- * @return void
- */
-function java_last_exception_clear() {}
-
-/**
- * Set case sensitivity for Java calls.
- * @param ignore bool if set, Java attribute and method names would be resolved disregarding case. NOTE: this does not make any Java functions case insensi
-tive, just things like $foo->bar and $foo->bar() would match Bar too.
- * @return void
- */
-function java_set_ignore_case($ignore) {}
-
-/**
- * Set encoding for strings received by Java from PHP. Default is UTF-8.
- * @param encoding string
- * @return array
- */
-function java_set_encoding($encoding) {}
-
-/**
- * Control if exceptions are thrown on Java exception. Only for PHP5.
- * @param throw bool If true, PHP exception is thrown when Java exception happens. If set to false, use java_last_exception_get() to check for exception.
- * @return void
- */
-function java_throw_exceptions($throw) {}
-
-/**
- * Reload Jar's that were dynamically loaded
- *
- * @return array
- * @param new_jarpath string
- */
-function java_reload($new_jarpath) {}
-
-/**
- * Add to Java's classpath in runtime
- *
- * @return array
- * @param new_classpath string
- */
-function java_require($new_classpath) {}
-
-
-/**
- * Shown if loader is enabled
- * @return bool
- */
-function zend_loader_enabled() {}
-
-/**
- * Returns true if the current file is a Zend-encoded file.
- * @return bool
- */
-function zend_loader_file_encoded() {}
-
-/**
- * Returns license (array with fields) if the current file has a valid license and is encoded, otherwise it returns false.
- * @return array
- */
-function zend_loader_file_licensed() {}
-
-/**
- * Returns the name of the file currently being executed.
- * @return string
- */
-function zend_loader_current_file() {}
-
-/**
- * Dynamically loads a license for applications encoded with Zend SafeGuard. The Override controls if it will override old licenses for the same product.
- * @param license_file string
- * @param override bool[optional]
- * @return bool
- */
-function zend_loader_install_license($license_file, $override) {}
-
-/**
- * Obfuscate and return the given function name with the internal obfuscation function.
- * @param function_name string
- * @return string
- */
-function zend_obfuscate_function_name($function_name) {}
-
-/**
- * Obfuscate and return the given class name with the internal obfuscation function.
- * @param class_name string
- * @return string
- */
-function zend_obfuscate_class_name($class_name) {}
-
-/**
- * Returns the current obfuscation level support (set by zend_optimizer.obfuscation_level_support)
- * @return int
- */
-function zend_current_obfuscation_level() {}
-
-/**
- * Start runtime-obfuscation support that allows limited mixing of obfuscated and un-obfuscated code.
- * @return void
- */
-function zend_runtime_obfuscate() {}
-
-/**
- * Returns array of the host ids. If all_ids is true, then all IDs are returned, otehrwise only IDs considered "primary" are returned.
- * @param all_ids bool[optional]
- * @return array
- */
-function zend_get_id($all_ids = false) {}
-
-/**
- * Returns Optimizer version. Alias: zend_loader_version()
- * @return string
- */
-function zend_optimizer_version() {}
-
-
-// End of Zend Extensions
-
-?>

Back to the top