<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://wiki.techtic.pro/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://wiki.techtic.pro/feed.php">
        <title>TechTIC prog:php</title>
        <description></description>
        <link>http://wiki.techtic.pro/</link>
        <image rdf:resource="http://wiki.techtic.pro/lib/exe/fetch.php?media=favicon.ico" />
       <dc:date>2026-05-09T14:40:57+0200</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://wiki.techtic.pro/doku.php?id=prog:php:const&amp;rev=1664896056&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.techtic.pro/doku.php?id=prog:php:debug&amp;rev=1665329133&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.techtic.pro/doku.php?id=prog:php:elasticsearch&amp;rev=1568138306&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.techtic.pro/doku.php?id=prog:php:functions&amp;rev=1665239665&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.techtic.pro/doku.php?id=prog:php:installer&amp;rev=1569863482&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.techtic.pro/doku.php?id=prog:php:markdown&amp;rev=1715263384&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.techtic.pro/doku.php?id=prog:php:php-ini&amp;rev=1569863561&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.techtic.pro/doku.php?id=prog:php:php.ini&amp;rev=1573920466&amp;do=diff"/>
                <rdf:li rdf:resource="http://wiki.techtic.pro/doku.php?id=prog:php:php&amp;rev=1573919943&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://wiki.techtic.pro/lib/exe/fetch.php?media=favicon.ico">
        <title>TechTIC</title>
        <link>http://wiki.techtic.pro/</link>
        <url>http://wiki.techtic.pro/lib/exe/fetch.php?media=favicon.ico</url>
    </image>
    <item rdf:about="http://wiki.techtic.pro/doku.php?id=prog:php:const&amp;rev=1664896056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-04T17:07:36+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Les Constantes</title>
        <link>http://wiki.techtic.pro/doku.php?id=prog:php:const&amp;rev=1664896056&amp;do=diff</link>
        <description>Les Constantes

Dans un objet

Déclaration avec : const %CONSTNAME%

Utilisation avec : self::%CONSTNAME%


class Constants
{
  const MIN_VALUE = 0.0;

  public static function getMinValue()
  {
    return self::MIN_VALUE;
  }
}</description>
    </item>
    <item rdf:about="http://wiki.techtic.pro/doku.php?id=prog:php:debug&amp;rev=1665329133&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-09T17:25:33+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Le debuggage sous PHP</title>
        <link>http://wiki.techtic.pro/doku.php?id=prog:php:debug&amp;rev=1665329133&amp;do=diff</link>
        <description>Le debuggage sous PHP

XDebug

Installer XDebug

Sous Windows

	*  Faire un tour sur ce site pour télécharger XDebug pour Windows
	*  Modifier php.ini (source : &lt;https://www.deborah-maitrejean.com/blog/installation-de-xdebug-avec-phpstorm-sous-windows&gt; )
ajouter :  
[Xdebug]
    zend_extension=php_xdebug-2.7.2-7.3-vc15-x86_64.dll;
    xdebug.remote_enable=On
    xdebug.remote_host=127.0.0.1
    xdebug.remote_port=8000
    xdebug.remote_handler=dbgp</description>
    </item>
    <item rdf:about="http://wiki.techtic.pro/doku.php?id=prog:php:elasticsearch&amp;rev=1568138306&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-10T19:58:26+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ElasticSearch et PHP Mémento</title>
        <link>http://wiki.techtic.pro/doku.php?id=prog:php:elasticsearch&amp;rev=1568138306&amp;do=diff</link>
        <description>ElasticSearch et PHP Mémento

Bulk

&lt;https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/_indexing_documents.html&gt;</description>
    </item>
    <item rdf:about="http://wiki.techtic.pro/doku.php?id=prog:php:functions&amp;rev=1665239665&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-08T16:34:25+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Les Functions</title>
        <link>http://wiki.techtic.pro/doku.php?id=prog:php:functions&amp;rev=1665239665&amp;do=diff</link>
        <description>Les Functions

Tester si une fonction existe


if (!\function_exists(u::class)) {
    function u(?string $string = ''): UnicodeString
    {
        return new UnicodeString($string ?? '');
    }
}


Use avec les functions


use function Symfony\Component\String\u;</description>
    </item>
    <item rdf:about="http://wiki.techtic.pro/doku.php?id=prog:php:installer&amp;rev=1569863482&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-30T19:11:22+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Installer PHP</title>
        <link>http://wiki.techtic.pro/doku.php?id=prog:php:installer&amp;rev=1569863482&amp;do=diff</link>
        <description>Installer PHP

Sur Windows

	*  Lien de téléchargement : &lt;https://windows.php.net/download/&gt;
	*  Télécharger le ZIP.
	*  Dézipper et mettre le répertoire a un emplacement de son choix, moi j'ai choisi C:\Programmes\php-7.3.6
	*  Ajouter ce répértoire a votre PATH de Windows (modifier le PATH de Windows)</description>
    </item>
    <item rdf:about="http://wiki.techtic.pro/doku.php?id=prog:php:markdown&amp;rev=1715263384&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-09T16:03:04+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Markdown en PHP</title>
        <link>http://wiki.techtic.pro/doku.php?id=prog:php:markdown&amp;rev=1715263384&amp;do=diff</link>
        <description>Markdown en PHP

Sources &amp; Ressources

	*   &lt;https://parsedown.org/&gt;</description>
    </item>
    <item rdf:about="http://wiki.techtic.pro/doku.php?id=prog:php:php-ini&amp;rev=1569863561&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-30T19:12:41+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Configuration de PHP</title>
        <link>http://wiki.techtic.pro/doku.php?id=prog:php:php-ini&amp;rev=1569863561&amp;do=diff</link>
        <description>Configuration de PHP

Php.ini

Trouver ce fichier

Grace a la commande php --ini


D:\webprojects&gt;php --ini
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File:         C:\Program Files\php-7.3.6\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)</description>
    </item>
    <item rdf:about="http://wiki.techtic.pro/doku.php?id=prog:php:php.ini&amp;rev=1573920466&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-16T17:07:46+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Le fichier PHP.INI</title>
        <link>http://wiki.techtic.pro/doku.php?id=prog:php:php.ini&amp;rev=1573920466&amp;do=diff</link>
        <description>Le fichier PHP.INI

Dates


[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = UTC


Mémoire

Désactiver la limite de mémoire, utile pour composer


; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
; memory_limit = 128M
memory_limit = -1</description>
    </item>
    <item rdf:about="http://wiki.techtic.pro/doku.php?id=prog:php:php&amp;rev=1573919943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-16T16:59:03+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>PHP</title>
        <link>http://wiki.techtic.pro/doku.php?id=prog:php:php&amp;rev=1573919943&amp;do=diff</link>
        <description>PHP

	*  installer PHP
	*  Installer Composer
	*  Symfony
	*  Le debuggage sous PHP
	*  Le fichier PHP.INI</description>
    </item>
</rdf:RDF>
