3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $chunk = "alkjeel poijepoijp 345 g li3j4o lij 4po434 85839494858583838485 lksf 97293847983759837443"; $newVal = preg_replace( '[(\b)([0-9]{16,})]', '\1="\2"', $chunk ); echo $chunk;
Output for 4.3.0 - 7.1.0
alkjeel poijepoijp 345 g li3j4o lij 4po434 85839494858583838485 lksf 97293847983759837443