<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>Latest snippets tagged string php</title>
  <link rel="alternate" href="http://snippets.prendreuncafe.com/snippets/tagged/string+php/order_by/date"></link>
  <id>http://snippets.prendreuncafe.com/snippets/tagged/string+php/order_by/date</id>
  <updated>2006-10-11T15:43:04Z</updated>
  <author>
    <name>Symfony</name>
    <author_email>noreply@symfony-project.com</author_email>
  </author>
<entry>
  <title>Obtenir un tableau de caractères depuis une chaîne en PHP4</title>
  <link href="http://snippets.prendreuncafe.com/snippet/2"></link>
  <updated>2006-10-11T15:43:04Z</updated>
  <id>2</id>
  <summary type="html">En php5 on a str_split : http://fr.php.net/manual/fr/function.str-split.php

Et en PHP4 :

[code]
$chars = preg_split('#(?&lt;=.)(?=.)#s', $string);
[/code]</summary>
</entry>
</feed>