3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = <<<TEXT 1. The best foods for your cat's diet 2. How to ensure your cat is getting enough nutrients 3. The importance of a balanced diet for cats 4. How to make sure your cat is getting enough water 5. Tips for dealing with finicky eaters 6. How to tell if your cat is overweight 7. The dangers of overfeeding your cat5 TEXT; var_export( preg_split( '/\R*\d+\. /', $text, 0, PREG_SPLIT_NO_EMPTY ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'The best foods for your cat\'s diet', 1 => 'How to ensure your cat is getting enough nutrients', 2 => 'The importance of a balanced diet for cats', 3 => 'How to make sure your cat is getting enough water', 4 => 'Tips for dealing with finicky eaters', 5 => 'How to tell if your cat is overweight', 6 => 'The dangers of overfeeding your cat5', )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
140.18 ms | 406 KiB | 5 Q