240 karma · joined Mar 8, 2015 (11y ago) · 225 submissions
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
<?php
# considering t2.txt contains below two lines
#a c d f n z r
#granc dr ssdo and
#
$file_lines = file_get_contents('./t2.txt');
$split_by_line = explode("\n",$file_lines);
$circular = array();
foreach ($split_by_line as $line) {
$split_by_words = explode(' ',$line);
sort($split_by_words);
$circular = $split_by_words;
foreach($split_by_words as $word){
array_push($circular,array_shift($circular));
echo implode($circular," ") . "\n";
}
$split_by_words = null;
echo "\n";
}comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
Difference is we can roll our users over as they renew and in a year after release all new customers and old will have the same software.
Only about 2000 users not as big as a scale as the story here.
comment 10y ago · link · parent
comment 10y ago · link · parent