English
stringlengths
16
806
Russian
stringlengths
11
790
"Extending PHP" is easier said than done.
"Расширение PHP" легче сказать, чем сделать.
# Make PHP code look like other code types AddType application / x-httpd-php .asp .py .pl
# Сделайте PHP-код похожим на другие типы кодов Приложение AddType / x-httpd-php .asp .py .pl
# Make PHP code look like unknown types AddType application / x-httpd-php .bop .foo .133t
# Сделайте PHP-код похожим на неизвестные типы Приложение AddType / x-httpd-php .bop .foo .133t
# Make all PHP code look like html AddType application / x-httpd-php .htm .html
# Сделайте весь PHP-код похожим на html AddType application / x-httpd-php .htm .html
$a now has the following entries using print_r():
$a теперь имеет следующие записи, используя print_r():
(ODBC SQL types affected:
(Затрагиваемые типы SQL ODBC:
(PHP 4.2) This function replaces an existing node with the passed new node.
(PHP 4.2) Эта функция заменяет существующий узел переданным новым узлом.
(PHP 4.2) This function replaces the child oldnode with the passed new node.
(PHP 4.2) Эта функция заменяет дочерний старый узел переданным новым узлом.
(no version information, might be only in CVS)
(информации о версии нет, может быть только в CVS)
-1 is considered TRUE, like any other non-zero (whether negative or positive) number!
-1 считается TRUE, как и любое другое ненулевое (отрицательное или положительное) число!
9. make 10. make install 11. copy and rename the php.ini-dist file to your "bin" directory from your PHP 4 source directory: cp php.ini-dist / usr / local / bin / php.ini or (if your don't have a local directory) cp php.ini-dist / usr / bin / php.ini
9. make 10. make install 11. скопируйте и переименуйте файл php.ini-dist в каталог «bin» из исходного каталога PHP 4: cp php.ini-dist /usr/local/bin/php.ini или ( если у вас нет локального каталога) cp php.ini-dist/usr/bin/php.ini
; any text on a line after an unquoted semicolon (;) is ignored [php]; section markers (text within square brackets) are also ignored; Boolean values can be set to either:; true, on, yes; or false, off, no, none register_globals = off magic_quotes_gpc = yes; you can enclose strings in double-quotes include_path = ".:/usr/local/lib/php"; backslashes are treated the same as any other character include_path = ".;c:\php\lib"
; любой текст на строке после нецитированного полуколона (;) игнорируется [php]; маркеры секций (текст в квадратных скобках) также игнорируются; Булевы значения могут быть установлены либо:; true, on, yes; or false, off, no, none register_globals = off magic_quotes_gpc = yesy; вы можете заключить строки в двойных цитатах include_path = ".:/usr/local/lib/php"; обратные реплики обрабатываются так же, как любой другой символ include_path = ".;c:\php\lib"
A class is a collection of variables and functions working with these variables.
Класс представляет собой совокупность переменных и функций, работающих с этими переменными.
A constant is a identifier (name) for a simple value.
Константа — это идентификатор (имя) для простого значения.
A dbplus_relation is a handle to a stored relation or a relation generated as the result of a query.
dbplus_relation - это дескриптор сохраненного отношения или отношения, созданного в результате запроса.
A fdf resource is a handle to an opened fdf file. fdf resources may be obtained using fdf_create(), fdf_open() and fdf_open_string().
Ресурс fdf - это ручка открытого файла fdf. Ресурсы fdf могут быть получены с использованием fdf_create(), fdf_open() и fdf_open_string().
A feasible way to gain passwords is to circumvent your search result pages.
Возможный способ получить пароли - обойти страницы результатов поиска.
A fetch row example
Пример получения строки
A filesystem attack
Атака файловой системы
A frequent security mistake made at this point is to allow apache root permissions, or to escalate apache 's abilitites in some other way.
Частая ошибка безопасности, допущенная в этот момент, заключается в разрешении корневых разрешений apache или эскалации абилититов apache каким-либо другим способом.
A function may be defined using syntax such as the following:
Функция может быть определена с использованием синтаксиса, такого как:
A key is either an integer or a string.
Ключ — это либо целое число, либо строка.
A large selection of options guarantees you can use PHP for a lot of purposes, but it also means there are combinations of these options and server configurations that result in an insecure setup.
Большой выбор опций гарантирует, что вы можете использовать PHP для многих целей, но это также означает, что есть комбинации этих опций и конфигурации сервера, которые приводят к небезопасной настройке.
A line has this format:
Линия имеет такой формат:
A list can be seen in the Reserved Variables section of the manual or you can get a complete list of them by creating a file that looks like this:
Список можно увидеть в разделе "Зарезервированные переменные", или вы можете получить полный список из них, создав файл, который выглядит следующим образом:
A nice introduction to PHP by Stig Sæther Bakken can be found here on the Zend website.
Хорошее введение в PHP от Стига Сэтера Баккена можно найти здесь, на веб-сайте Zend.
A normal ZIP utility is needed to create the ZIP file archives read by this library.
Для создания файловых архивов ZIP, прочитанных этой библиотекой, необходима обычная утилита ZIP.
A partial list of these tools is maintained at PHP Editor 's List.
Частичный список этих инструментов поддерживается в списке редакторов PHP.
A phrase worth remembering:
Фраза, которую стоит запомнить:
A properly installed Cygwin environment provides the mandatory files bison.simple and bison.exe.
Правильно установленная среда Cygwin обеспечивает обязательные файлы бизонов. Простой и бизон. бывший.
A pseudo-object oriented mechanism for reading a directory.
Псевдообъектно-ориентированный механизм чтения каталога.
A reference to the XML parser to free.
Ссылка на XML-парсер бесплатно.
A reference to the XML parser to get an option from.
Ссылка на XML-парсер, чтобы получить опцию.
A reference to the XML parser to get byte index from.
Ссылка на XML-парсер для получения байтового индекса.
A reference to the XML parser to get column number from.
Ссылка на XML-парсер для получения номера столбца.
A reference to the XML parser to get error code from.
Ссылка на XML-парсер для получения кода ошибки.
A reference to the XML parser to get line number from.
Ссылка на XML-парсер для получения номера строки.
A reference to the XML parser to use.
Ссылка на используемый XML-парсер.
A reference to the XSLT parser.
Ссылка на парсер XSLT.
A resource represents a connection to a target.
Ресурс представляет собой соединение с целью.
A sample output of this script may be:
Образец вывода этого сценария может быть:
A set of macros was introduced into Zend' s API that simplify access to zval containers (see Table 42-1).
В API Zend был введен набор макросов, которые упрощают доступ к контейнерам zval (см. Таблицу 42-1).
A simple HTML form
Простая форма HTML
A simple tutorial
Простой туториал
A string is series of characters.
Строка представляет собой последовательность символов.
A very clever implementation of this can be found in the code handling PHP' s fsockopen() located in ext / standard / fsock.c, as shown in Example 32-1.
Очень умную реализацию этого можно найти в коде обработки PHP's fsockopen(), расположенном в ext/standard/fsock.c, как показано в Примере 32-1.
A very secure option is to put the PHP parser binary somewhere outside of the web tree of files.
Очень безопасным вариантом является размещение PHP-парсера где-то за пределами веб-дерева файлов.
A warning will be emitted if a value has the wrong type, and the key / value pair in question will not be flipped.
Если значение имеет неправильный тип, будет выдано предупреждение, и рассматриваемая пара ключ/значение не будет перевернута.
About the manual
О руководстве
About user notes
О заметках пользователей
Accepting Arguments
Принятие аргументов
Access to initialization entries can also be handled with the macros shown in Table 39-1.
Доступ к записям инициализации также можно обрабатывать с помощью макросов, показанных в таблице 39-1.
Accessing any web document on server: http: / /my.host / cgi-bin / php / secret / doc.html
Доступ к любому веб-документу на сервере: http: / /my.host / cgi-bin / php / secret / doc.html
Accessing system files: http: / /my.host / cgi-bin / php? / etc / passwd
Доступ к системным файлам: http: / /my.host / cgi-bin /php? / etc / passwd
Action) are used to redirect requests to documents like http: / /my.host / secret / script.php to the PHP interpreter.
Действие) используется для перенаправления запросов к документам, таким как http: / /my.host / secret / script.php, на интерпретатор PHP.
Add / delete an element, unset the array that array_filter() is applied to.
Добавить/удалить элемент, отключить массив, к которому применяется array_filter().
Add a new page to the document.
Добавить новую страницу в документ.
Add two GMP numbers.
Добавить два GMP номера.
Adding "export II_SYSTEM=" / home / ingres / II" in the script that starts Apache, just before launching httpd, should be fine.
Добавление "экспорт II_SYSTEM=" / home / ingres / II" в сценарий, который начинается Apache перед запуском httpd должен быть в порядке.
Adds filtername to the list of filters attached to stream.
Добавляет имя фильтра в список фильтров, прикрепленных к потоку.
Adds setting to the server environment.
Добавляет настройки в среду сервера.
Adds the data in the record to the database.
Добавляет данные из записи в базу данных.
Adds the value to the database with the specified key.
Добавляет значение в базу данных с указанным ключом.
Advanced escaping
Расширенное экранирование
After PHP 4.3.0, getallheaders() is an alias for apache_request_headers().
После PHP 4.3.0 getallheaders() является псевдонимом для apache_request_headers().
After installing the Hyperwave SDK, configure PHP with --with-hwapi[ =DIR].
После установки Hyperwave SDK настройте PHP с --with-hwapi[=DIR].
After this, $stack will have only 3 elements:
После этого в $stack будет всего 3 элемента:
After you installed the mcal library, to get these functions to work, you have to compile PHP -with-mcal[ =DIR].
После того, как вы установили библиотеку mcal, чтобы заставить эти функции работать, вам нужно скомпилировать PHP-with-mcal[ =DIR].
Again, if you try to escape any other character, the backslash will be printed too!
Опять же, если вы попытаетесь экранировать любой другой символ, обратная косая черта тоже будет напечатана!
Again, see Appendix I for a description of targets for builtin streams.
Опять же, см. Приложение I для описания целей для встроенных потоков.
All PHP modules follow a common structure:
Все модули PHP имеют общую структуру:
All functions look like this:
Все функции выглядят так:
All non-alphanumeric characters other than\, -, ^ (at the start) and the terminating] are non-special in character classes, but it does no harm if they are escaped.
Все буквенно-цифровые символы, кроме \, -, ^ (в начале) и терминации, не являются специальными в классах символов, но это не причиняет вреда, если они ускользают.
All of the above.
Все вышеперечисленное.
All pending transactions on connection_id are committed.
Все ожидающие транзакции по connection_id фиксируются.
Also the size of an embedded thumbnail is returned in THUMBNAIL subarray and the function exif_read_data() can return thumbnails in TIFF Also the size of an embedded thumbnail is returned in THUMBNAIL subarray and the function exif_read_data() can return thumbnails in TIFF format.
Кроме того, размер встроенной миниатюры возвращается в подмассиве THUMBNAIL, а функция exif_read_data() может возвращать миниатюры в формате TIFF. Также размер встроенной миниатюры возвращается в подмассиве THUMBNAIL, а функция exif_read_data() может возвращать миниатюры в формате TIFF.
Also, Ming is still being maintained; if there's a feature that you want to see, just let us know ming@opaque.net.
Кроме того, Ming все еще поддерживается; если есть функция, которую вы хотите увидеть, просто дайте нам знать ming@opaque.net.
Also, if you intend to embed PHP code in XML or XHTML, you will need to use the ?php...? form to conform to the XML.
Кроме того, если вы планируете встроить PHP-код в XML или XHTML, вам нужно будет использовать форму php ... , чтобы соответствовать XML.
Also, if you perform an operation that results in a number beyond the bounds of the integer type, a float will be returned instead.
Кроме того, если вы выполняете операцию, в результате которой число выходит за пределы целого типа, поплавок будет возвращен.
Also, the closing tag automatically implies a semicolon; you do not need to have a semicolon terminating the last line of a PHP block.
Кроме того, закрывающий тег автоматически подразумевает полуколону; вам не нужно иметь полуколону, заканчивающую последнюю строку блока PHP.
Also, the identifier used must follow the same naming rules as any other label in PHP: it must contain only alphanumeric characters and underscores, and must start with a non-digit character or underscore.
Кроме того, используемый идентификатор должен соответствовать тем же правилам именования, что и любая другая метка в PHP: он должен содержать только буквенно-цифровые символы и символы подчеркивания и должен начинаться с нецифрового символа или символа подчеркивания.
Alternately, you can click on the 'Text Documents' drop-down menu in the save dialog box and change the setting to "All Files ".
В качестве альтернативы вы можете нажать на раскрывающееся меню "Текстные документы" в диалоговом окне сохранения и изменить настройку на "Все файлы".
Alternatively, you can transmit the IV together with the encrypted data (see chapter 9.3 of Applied Cryptography by Schneier (ISBN 0-471-11709-9) for a discussion of this topic).
Кроме того, вы можете передавать IV вместе с зашифрованными данными (см. главу 9.3 Прикладной криптографии Шнайера (ISBN 0-471-11709-9) для обсуждения этой темы).
Although not every standard OOP feature is realized in the current version of PHP, many code libraries and large applications (including the PEAR library) are written only using OOP code.
Хотя не все стандартные функции OOP реализованы в текущей версии PHP, многие библиотеки кода и большие приложения (включая библиотеку PEAR) пишутся только с использованием кода OOP.
Although this is outside the scope of this tutorial, see also the DocumentRoot and ServerName directives in your web servers configuration file. (on Apache this is httpd.conf).
Хотя это выходит за рамки этого руководства, см. также директивы DocumentRoot и ServerName в файле конфигурации веб-серверов. (перенаправлено с "Httpd.conf").
Always returns TRUE.
Всегда возвращает TRUE.
An advantage of the online manual over most of the offline formats is the integration of user-contributed notes.
Преимущество онлайн-руководства перед большинством автономных форматов заключается в интеграции примечаний, вносимых пользователями.
An array can be created by the array() An array can be created by the array() language-construct.
Для этого можно создать массив(). Массив может быть создан посредством массива () языковой конструкции.
An error code from xml_get_error_code().
Код ошибки от xml_get_error_code().
An integer is a number of the set Z = {..., -2, -1, 0, 1, 2,...}.
Целое число представляет собой число множества Z = {..., -2, -1, 0, 1, 2, ...}.
An integer or a floating point number (float) is converted to a string representing the number with its digits (including the exponent part for floating point numbers).
Целое число или число с плавающей точкой (float) преобразуется в строку, представляющую число с его цифрами (включая показательную часть для чисел с плавающей точкой).
An interesting use of this function is to construct an array of arrays, which can be easily performed by using NULL as the name of the callback function
Интересное использование этой функции - создание массива массивов, что можно легко выполнить, используя NULL в качестве имени функции обратного вызова.
An introductory example
Вводный пример
And until the notes have been incorporated, they can be viewed in their submitted form online and in some of the offline formats.
И до тех пор, пока заметки не будут включены, их можно будет просматривать в онлайн-форме и в некоторых офлайн-форматах.
Another option usable here is user_dir.
Еще одним вариантом является user_dir.
Any PHP script is built out of a series of statements.
Любой PHP-скрипт построен из серии утверждений.
Any directive type set with php_admin_flag can not be overridden by .htaccess or virtualhost directives.
Любой тип директивы с php_admin_flag не может быть отменен директивами .htaccess или Virtualhost.
Apache configuration example
Пример конфигурации Apache
Apache-specific Functions
Apache-специфические функции
Applications should never connect to the database as its owner or a superuser, because these users can execute any query at will, for example, modifying the schema (e.g. dropping tables) or deleting its entire content.
Приложения никогда не должны подключаться к базе данных в качестве ее владельца или суперпользователя, поскольку эти пользователи могут выполнять любой запрос по желанию, например, модифицируя схему (например, выпадающие таблицы) или удаляя весь ее контент.

OPUS PHP (ru-en) Parallel Corpora

The dataset contains parallel corpora, featuring pairs in Russian and English.

Initially, the original OPUS PHP v1 (en&ru) dataset was intended to be used for training the enbeddrus project. However, due to its poor quality and high level of noise, it was decided to use only the English corpus from this dataset. The English text was then automatically translated using LibreTranslate, followed by manual translation and quality improvement using Google Translate.

Thus, the entire dataset was reviewed by the author of this project.

Subsequently, all lines shorter than 15 characters were removed, and lines such as "Example 1. function_name()" were manually deleted. Additionally, all duplicate lines, such as untranslated code samples, were removed. As a result, the original OPUS PHP v1 dataset was reduced from ~2k lines to ~1.6k lines.

Downloads last month
33
Edit dataset card

Models trained or fine-tuned on evilfreelancer/opus-php-en-ru-cleaned

Collection including evilfreelancer/opus-php-en-ru-cleaned