PHP canonical results are inconsistent under windows and linux?

$text = "ComposerComposer  PHP (dependency)Composer:phpercomposercomposer:http://www.phpcomposer.com composer:https://getcomposer.org/download :composer:composer config -g repo.packagist composer https://packagist.phpcomposer.com:https://packagist.org  :Google... passss:gregwar/captchacomposer require gregwar/captchacmdcd C:\www\test\democomposer:composer require gregwar/captcha:index.php:https://packagist.org/packages/gregwar/captcha:composerlaravel:composerlaravel";

preg_match_all( "/.{1}/u", $text, $words_array );

var_dump($words_array);

the running result of the above code under windows, php7.0 and php7.2:

linuxPHP7.0:

LinuxPHP:


/.{1}/u/.{1}/u

Could

be the reason?


my linux can run, but php7 doesn't know what's going on with you

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3669b-4d6ad.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3669b-4d6ad.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?