PageRenderTime 3207ms queryFilters 20ms Sphinxql 2546ms GetByIds 611ms meta 0ms repositoryFilters 7ms languageFilters 2ms sourceFilters 1ms

1,542,995 results for 'php empty repo:rtsukui/jelly2' (3207 ms)

Source

Language

Repository

init.php.orig git://pkgs.fedoraproject.org/WebCalendar | Unknown | 492 lines
34 *
35 * Also, for month.php, day.php, week.php, week_details.php:
36 *   - {@link send_no_cache_header ()};
57include_once 'includes/config.php';
58include_once 'includes/dbi4php.php';
59include_once 'includes/formvars.php';
124      ? $MENU_THEME : 'default' );
125    $menu_theme =  ( $SCRIPT == 'admin.php' && ! empty ( $GLOBALS['sys_MENU_THEME'] ) 
126      ? $GLOBALS['sys_MENU_THEME'] :
335  
336    if ( ! empty ( $thisyear ) && ! empty ( $thismonth ) ) {
337      $m = $thismonth;
403  
404    if ( ! empty ( $thisyear ) && ! empty ( $thismonth ) ) {
405      $m = $thismonth;
init.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 492 lines
34 *
35 * Also, for month.php, day.php, week.php, week_details.php:
36 *   - {@link send_no_cache_header ()};
57include_once 'includes/config.php';
58include_once 'includes/dbi4php.php';
59include_once 'includes/formvars.php';
124      ? $MENU_THEME : 'default' );
125    $menu_theme =  ( $SCRIPT == 'admin.php' && ! empty ( $GLOBALS['sys_MENU_THEME'] ) 
126      ? $GLOBALS['sys_MENU_THEME'] :
335  
336    if ( ! empty ( $thisyear ) && ! empty ( $thismonth ) ) {
337      $m = $thismonth;
403  
404    if ( ! empty ( $thisyear ) && ! empty ( $thismonth ) ) {
405      $m = $thismonth;
index.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 725 lines
1<?php
2/* $Id: index.php,v 1.60.2.15 2008/04/23 20:22:55 umcesrjones Exp $
34    $can_add = false;
35  else if (!empty($user) && $user != $login && $user != '__public__')
36    $can_add = false;
41
42$help_url = 'help_index.php';
43$month_url = 'month.php';
47
48$mycal = ( empty ( $STARTVIEW ) ? 'index.php' : $STARTVIEW );
49
49
50$mycal .= ( ! strpos ( $mycal, '.php' ) ? '.php' : '' );
51
112// Only display some links if we're viewing our own calendar.
113if ( ( empty ( $user ) || $user == $login ) || ( ! empty ( $user ) && access_is_enabled () && 
114  access_user_calendar ( 'view', $user) ) ) {
v1.php http://gespac.googlecode.com/svn/trunk/ | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
Common.php http://akelosframework.googlecode.com/svn/trunk/ | PHP | 2,095 lines
503            case 'provides':
504                if (empty($attribs['type']) || empty($attribs['name'])) {
505                    break;
1147                }
1148                if ($d['type'] == 'php' && !empty($d['name'])) {
1149                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1149                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1150                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1151                    $errors[] = "dependency $i: missing name";
1414                                 )) {
1415                            PEAR::raiseError('Error: PHP5 packages must be packaged by php 5 PEAR');
1416                            return false;
1793        $request .= "Host: $host:$port\r\n".
1794            "User-Agent: PHP/".PHP_VERSION."\r\n";
1795        if ($proxy_host != '' && $proxy_user != '') {
index.php http://rapidleech.googlecode.com/svn/trunk/ | PHP | 324 lines
97	if (!empty($_GET['pauth'])) $pauth = decrypt(urldecode(trim($_GET['pauth'])));
98	else $pauth = (!empty($_GET['proxyuser']) && !empty($_GET['proxypass'])) ? base64_encode($_GET['proxyuser'] . ':' . $_GET['proxypass']) : '';
99}
105
106if (empty($_GET['filename']) || empty($_GET['host']) || empty($_GET['path'])) {
107	$LINK = !empty($_GET['link']) ? trim(rawurldecode($_GET['link'])) : false;
156	// If Url has user & pass, use them as premium login for plugins and set $auth for direct download.
157	if (!empty($Url['user']) && !empty($Url['pass'])) {
158		if (empty($_REQUEST['premium_acc'])) $_GET['premium_acc'] = $_POST['premium_acc'] = $_REQUEST['premium_acc'] = 'on';
234			$hostmatch = str_replace('.', '_', $hostmatch[1]);
235			if (isset($premium_acc["$hostmatch"]) && is_array($premium_acc["$hostmatch"]) && !empty($premium_acc["$hostmatch"]['user']) && !empty($premium_acc["$hostmatch"]['pass'])) {
236				$auth = base64_encode($premium_acc["$hostmatch"]['user'] . ":" . $premium_acc["$hostmatch"]['pass']);
298			$_GET['partSize'] = (isset($_GET['partSize']) && is_numeric($_GET['partSize']) ? $_GET['partSize'] * 1024 * 1024 : false);
299			if (xmail($fromaddr, $_GET['email'], 'File ' . basename($file['file']), 'File: ' . basename($file['file']) . "\r\n" . 'Link: ' . $_GET['link'] . (!empty($_GET['comment']) ? "\r\n" . 'Comments: ' . str_replace (array('\r', '\n'), array("\r", "\n"), $_GET['comment']) : ''), $pathWithName, $_GET['partSize'], ($_GET['partSize'] && !empty($_GET['method']) ? $_GET['method'] : ''))) {
300				printf(lang(11), $_GET['email'], basename($file['file']));
v1.php https://bitbucket.org/chamilo/chamilo/ | PHP | 1,619 lines
16 * @copyright  1997-2008 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php 137 2009-11-09 13:24:37Z vanpouckesven $
1049                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1050                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1051                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1157                }
1158                if ($d['type'] == 'php' && !empty($d['name'])) {
1159                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1160                        array('index' => $i, 'name' => $d['name']));
1161                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1162                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1164                }
1165                if ($d['type'] == 'php' && empty($d['version'])) {
1166                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php http://punchcms.googlecode.com/svn/trunk/ | PHP | 1,601 lines
16 * @copyright  1997-2006 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.69 2006/03/02 18:14:13 cellog Exp $
1041                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1042                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1043                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1149                }
1150                if ($d['type'] == 'php' && !empty($d['name'])) {
1151                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1152                        array('index' => $i, 'name' => $d['name']));
1153                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1154                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1156                }
1157                if ($d['type'] == 'php' && empty($d['version'])) {
1158                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
index.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 381 lines
69
70if (empty($_GET ["filename"]) || empty($_GET ["host"]) || empty($_GET ["path"])) {
71	if (!isset($_POST["link"])) {
148	// If Url has user & pass, use them as premium login for plugins and set $auth for direct download.
149	if (!empty($Url['user']) && !empty($Url['pass'])) {
150		if (!$_REQUEST['premium_acc']) $_GET['premium_acc'] = $_POST['premium_acc'] = $_REQUEST['premium_acc'] = 'on';
210	}
211	insert_location("$PHP_SELF?filename=" . urlencode($FileName) . "&host=" . $Url ["host"] . "&port=" . (isset($Url ["port"]) ? $Url ["port"] : '') . "&path=" . (!empty($Url ["path"]) ? urlencode($Url ["path"]) : '') . (!empty($Url ["query"]) ? urlencode("?" . $Url ["query"]) : "") . "&referer=" . urlencode($Referer) . "&email=" . (!empty($_GET ["domail"]) ? $_GET ["email"] : "") . "&partSize=" . (!empty($_GET ["split"]) ? $_GET ["partSize"] : "") . "&method=" . (!empty($_GET ["method"]) ? $_GET ["method"] : '') . (!empty($_GET ["proxy"]) ? "&useproxy=on&proxy=" . $_GET ["proxy"] : "") . "&saveto=" . $_GET ["path"] . "&link=" . urlencode($LINK) . (isset($_GET ["add_comment"]) && $_GET ["add_comment"] == "on" && !empty($_GET ["comment"]) ? "&comment=" . urlencode($_GET ["comment"]) : "") . $auth . ($pauth ? "&pauth=$pauth" : "") . (isset($_GET["idx"]) ? "&idx=" . $_GET["idx"] : "") . "&cookie=" . (!empty($_GET ["cookie"]) ? urlencode(encrypt($_GET ['cookie'])) : '' . "&dis_plug=on"));
212} else {
278		if ($ftp ["scheme"] == "ftp" && !$_GET ["proxy"]) {
279			$AUTH ["ftp"] = array("login" => !empty($ftp ["user"]) ? $ftp ["user"] : "anonymous", "password" => !empty($ftp ["pass"]) ? $ftp ["pass"] : "anonymous@leechget.com");
280			require_once (CLASS_DIR . "ftp.php");
336			$_GET ["partSize"] = (isset($_GET ["partSize"]) && is_numeric($_GET ["partSize"]) ? $_GET ["partSize"] * 1024 * 1024 : false);
337			if (xmail($fromaddr, $_GET ["email"], "File " . basename($file ["file"]), "File: " . basename($file ["file"]) . "\r\n" . "Link: " . $_GET ["link"] . (!empty($_GET ["comment"]) ? "\r\n" . "Comments: " . str_replace("\\r\\n", "\r\n", $_GET ["comment"]) : ""), $pathWithName, $_GET ["partSize"], ($_GET ["partSize"] && !empty($_GET ["method"]) ? $_GET ["method"] : ''))) {
338				print $L->sprintf($L->say['mail_file_sent'], $_GET['email'], basename($file['file']));
tasks.php git://github.com/Dolibarr/dolibarr.git | PHP | 853 lines
302			{
303				header("Location: ".DOL_URL_ROOT.'/projet/tasks/list.php'.(empty($mode) ? '' : '?mode='.$mode));
304				exit;
789	if (!empty($arrayfields['t.duration_effective']['checked'])) print_liste_field_titre($arrayfields['t.duration_effective']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
790	if (!empty($arrayfields['t.progress_calculated']['checked'])) print_liste_field_titre($arrayfields['t.progress_calculated']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
791	if (!empty($arrayfields['t.progress']['checked']))  print_liste_field_titre($arrayfields['t.progress']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
791	if (!empty($arrayfields['t.progress']['checked']))  print_liste_field_titre($arrayfields['t.progress']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
792	if (!empty($arrayfields['t.progress_summary']['checked'])) print_liste_field_titre($arrayfields['t.progress_summary']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'center ');
793	if ($object->usage_bill_time)
795		if (!empty($arrayfields['t.tobill']['checked']))  print_liste_field_titre($arrayfields['t.tobill']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
796		if (!empty($arrayfields['t.billed']['checked'])) print_liste_field_titre($arrayfields['t.billed']['label'], $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'right ');
797	}
797	}
798	if (!empty($conf->global->PROJECT_SHOW_CONTACTS_IN_LIST)) print_liste_field_titre("TaskRessourceLinks", $_SERVER["PHP_SELF"], '', '', $param, $sortfield, $sortorder);
799	// Extra fields
dispatch.php git://github.com/Dolibarr/dolibarr.git | PHP | 1,090 lines
93
94if ($action == 'checkdispatchline' && !((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande->receptionner)) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande_advance->check))))
95{
137
138if ($action == 'uncheckdispatchline' && !((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande->receptionner)) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande_advance->check))))
139{
180
181if ($action == 'denydispatchline' && !((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande->receptionner)) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande_advance->check))))
182{
819						if (!empty($conf->global->SUPPLIER_ORDER_CAN_UPDATE_BUYINGPRICE_DURING_RECEIPT)) {
820							if (empty($conf->multicurrency->enabled) && empty($conf->dynamicprices->enabled)) {
821								// Price
1036					print '<td class="center">';
1037					if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande->receptionner)) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->fournisseur->commande_advance->check)))
1038					{
login.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 307 lines
55
56$cookie_path = str_replace ( 'login.php', '', $PHP_SELF );
57//echo "Cookie path: $cookie_path\n";
240 <input name="login" id="user" size="15" maxlength="25"
241   value="<?php if ( ! empty ( $last_login ) ) echo $last_login;?>"
242   tabindex="1" />
271    if ( $nulist[$i]['cal_is_public'] == 'Y' ) {
272      ?><a class="nav" href="nulogin.php?login=<?php
273        echo $nulist[$i]['cal_login'] . '">' .
283<br /><br />
284<?php if ( ! empty ( $ALLOW_SELF_REGISTRATION ) &&
285  $ALLOW_SELF_REGISTRATION == 'Y' ) {
298<br />
299<a href="<?php echo $PROGRAM_URL ?>" id="programname"><?php echo $PROGRAM_NAME?></a>
300<?php // Print custom trailer (since we do not call print_trailer function)
trailer.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 336 lines
29  $publicStr = $PUBLIC_ACCESS_FULLNAME;
30  if ( empty ( $readonly ) || $readonly != 'Y' )
31    $readonly = 'N';
47  // Get HOME URL and text.
48  if ( ! empty ( $GLOBALS['HOME_LINK'] ) ) {
49    $home = $GLOBALS['HOME_LINK'];
54
55  $mycal = ( empty ( $GLOBALS['STARTVIEW'] )
56    ? 'index.php' : $GLOBALS['STARTVIEW'] );
56    ? 'index.php' : $GLOBALS['STARTVIEW'] );
57  $mycal .= ( strpos ( $mycal, '.php' )? '' : '.php' );
58
67  $todayURL = ( ! strstr ( $reqURI, 'day.php' ) && !
68    strstr ( $reqURI, 'month.php' ) && ! strstr ( $reqURI, 'week.php' )
69    ? 'day.php' : $reqURI );
utils.php https://github.com/BarnetikKoop/SuiteCRM.git | PHP | 5,084 lines
186	'upload_badext' => empty($upload_badext) ? array (
187	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
188	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ) : $upload_badext,
331	'upload_badext' => array (
332	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
333	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ),
1997	if(isset($_SERVER['PHP_SELF'])) {
1998		if (!empty($_SERVER['PHP_SELF'])) clean_string($_SERVER['PHP_SELF'], 'SAFED_GET');
1999	}
2871function check_php_version($sys_php_version = '') {
2872	$sys_php_version = empty($sys_php_version) ? constant('PHP_VERSION') : $sys_php_version;
2873	// versions below $min_considered_php_version considered invalid by default,
3770
3771	// http://us3.php.net/manual/en/ref.pcre.php#ini.pcre.backtrack-limit
3772	// starting with 5.2.0, backtrack_limit breaks JSON decoding
CHANGELOG.php http://vanphongphamdm.googlecode.com/svn/trunk/ | PHP | 3,622 lines
51# Bug #360 Ajax calls recorded as last page
52# Bug #310 bug in shop.browse.php empty category
53
25223.09.2009 mauri
253# Fixed EU VAT ID in ps_product.php and ps_checkout.php
254# Fixed undefined index in ps_order_chenge.php
86514.07.2008 soeren
866^ Task #2240 - mf description also in shop.browse.php and browse_header_manufacturer.tpl.php 
867# Task #2227 - When Joomla cache is enabled Product list with table doesn't work 
1337- removed email_*.html (localized email templates)
1338^ changed Order Confirmation Email to use a php-based template (/order_emails/confirmation_email.tpl.php)
1339+ custom registration/user fields are sent with confirmation email now 
1350# Task #1848 - In IE7 it is possible to move a product into the same category, doing so results in product being placed in no category
1351# Task #1839 - Empty name, empty price in product list (extended layout)
1352# Task #1851 - Quantity Start and Quantity End language strings missing from List Prices
admin.php git://pkgs.fedoraproject.org/wordpress | PHP | 851 lines
146?>
147<?php if ( !empty($_POST['submit'] ) ) : ?>
148<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
224		<td><?php echo htmlspecialchars($ip); ?></td>
225		<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
226		
310					<p><?php esc_html_e( $alert['msg'] ); ?></p>
311					<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
312				</div>
327		return;
328	} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) &&  wp_next_scheduled('akismet_schedule_cron_recheck') ) {
329		function akismet_warning() {
766function akismet_add_comment_author_url() {
767    if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) {
768        global $wpdb;
functions.php git://pkgs.fedoraproject.org/virtuoso-opensource | PHP | 3,081 lines
37// coming from the login.php page.
38if ( ! strstr ( $PHP_SELF, "login.php" ) && ! empty ( $GLOBALS["login"] ) ) {
39  $GLOBALS["login"] = "";
703  // if we are looking at a view, then always use "entry"
704  if ( strstr ( $PHP_SELF, "view_m.php" ) ||
705    strstr ( $PHP_SELF, "view_w.php" ) ||
2687// Convert HTML entities in 8bit
2688// Only supported for PHP4 (not PHP3)
2689function html_to_8bits ( $html ) {
2948  // if we are looking at a view, then always use "entry"
2949  if ( strstr ( $PHP_SELF, "view_m.php" ) ||
2950    strstr ( $PHP_SELF, "view_w.php" ) ||
2950    strstr ( $PHP_SELF, "view_w.php" ) ||
2951    strstr ( $PHP_SELF, "view_v.php" ) ||
2952    strstr ( $PHP_SELF, "view_t.php" ) )
edit_entry.php git://pkgs.fedoraproject.org/WebCalendar | PHP | 1,645 lines
126
127if ( empty ( $date ) && empty ( $month ) ) {
128  if ( empty ( $year ) )
197
198    $cal_date = ( ! empty ( $override ) && ! empty ( $date )
199      ? $date // Leave $cal_date to what was set in URL with date=YYYYMMDD.
579      <input type="hidden" name="eType" value="' . $eType . '" />'
580   . ( ! empty ( $id ) && ( empty ( $copy ) || $copy != '1' ) ? '
581      <input type="hidden" name="cal_id" value="' . $id . '" />' : '' )
1035      } else {
1036        if ( ! empty ( $defusers ) && ! empty ( $participants[$l] ) )
1037          // Default selection of participants was in the URL.
1135     . 'name="rpt_end_use" id="rpt_untilf" value="f" '
1136     . ( empty ( $rpt_end ) && empty ( $rpt_count ) ? $checked : '' )
1137     . ' onclick="toggle_until()" /><label for="rpt_untilf">'
Common.php https://bitbucket.org/kucing2k/ediassoc.git | PHP | 2,094 lines
503            case 'provides':
504                if (empty($attribs['type']) || empty($attribs['name'])) {
505                    break;
1147                }
1148                if ($d['type'] == 'php' && !empty($d['name'])) {
1149                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1149                    $warnings[] = "dependency $i: name ignored for php type dependencies";
1150                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1151                    $errors[] = "dependency $i: missing name";
1414                                 )) {
1415                            PEAR::raiseError('Error: PHP5 packages must be packaged by php 5 PEAR');
1416                            return false;
1793        $request .= "Host: $host:$port\r\n".
1794            "User-Agent: PHP/".PHP_VERSION."\r\n";
1795        if ($proxy_host != '' && $proxy_user != '') {
v1.php https://bitbucket.org/kucing2k/ediassoc.git | PHP | 1,612 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21