<?php
$test = <<<EOF
Add an indicator that text has been shortened to the descriptions on the Search results page
AJAX error prevents address entry at node/add/project
AJAX error prevents address entry at node/add/project
AJAX error prevents address entry at node/add/project
AJAX error prevents address entry at node/add/project
AJAX error prevents address entry at node/add/project
AJAX error prevents address entry at node/add/project
An award taxonomy project for an award in 2014 is showing on the 2017 Award page. https://www.hdrinc.com/au/taxonomy/term/121/edit?destination=about-us/awards-rankings https://www.hdrinc.com/au/about-us/awards-rankings
AUS & German Versions > Event Landing Page View > Date Order Wrong
AUS & German Versions > News Landing Page View > Date Order Wrong
AUS & German Versions > News Landing Page View > Date Order Wrong
AUS & German Versions > News Landing Page View > Date Order Wrong
AUS & German Versions > News Landing Page View > Date Order Wrong
AUS & German Versions > News Landing Page View > Date Order Wrong
AUS Site > Awards Page Order not alpha order
AUS Site > Awards Page Order not alpha order
AUS Site > Awards Page Order not alpha order
Awards & Rankings Page View Not Themed When Logged In
Awards & Rankings Page View Not Themed When Logged In
Awards & Rankings Page View Not Themed When Logged In
Awards & Rankings Page View Not Themed When Logged In
Awards & Rankings Page View Not Themed When Logged In
Awards > All Language Versions > View for each year has a glitch
Awards > All Language Versions > View for each year has a glitch
Clear Cache Error
Clear Cache Error
Clear Cache Error
Clear Cache Error
Delete the following PDFs
Deployments
Deployments
Deployments
Deployments
Deployments
Drupal Core Update
Duplicating Intro text on the Contact Us page All of a Sudden
Duplicating Intro text on the Contact Us page All of a Sudden
Events > Recruiting Events > Missing time in the theming
Events > Recruitment Events > Order by date is wrong now
Export CSV Error
Google Webmaster Tools > Recrawl a Page
Home URL path has two paths
Home URL path has two paths
Meetings
Meetings
Meetings
NEEDS ESTIMATE: IE11: Using back browser button in Portfolio causes load issue
ON HOLD: Webform does not open a new page when completed and submitted
Project Management
Project Management
Project Management
Project Management
Project Management
Project Management
Set up
Set up
Set up
Set up node-specific metatag fields
Set up node-specific metatag fields
Set up node-specific metatag fields
Set up node-specific metatag fields
Site Search > Not Indexing All Content
SMTP Setup
SMTP Setup
Task
Task Management
Task Management
Task Management
Universal Change > Styled Links in Colored Slices
Universal Change > Styled Links in Colored Slices
Unrequiring the State Field in Project Template
Unrequiring the State Field in Project Template
Unrequiring the State Field in Project Template
Unrequiring the State Field in Project Template
Unrequiring the State Field in Project Template
Unrequiring the State Field in Project Template
EOF;
$test = explode("\n", $test);
$array = [];
foreach ($test as $item) {
$array["item"] = 1;
}
$test = array_flip($test);
var_dump($test);
array(30) {
["Add an indicator that text has been shortened to the descriptions on the Search results page"]=>
int(0)
["AJAX error prevents address entry at node/add/project"]=>
int(6)
["An award taxonomy project for an award in 2014 is showing on the 2017 Award page. https://www.hdrinc.com/au/taxonomy/term/121/edit?destination=about-us/awards-rankings https://www.hdrinc.com/au/about-us/awards-rankings"]=>
int(7)
["AUS & German Versions > Event Landing Page View > Date Order Wrong"]=>
int(8)
["AUS & German Versions > News Landing Page View > Date Order Wrong"]=>
int(13)
["AUS Site > Awards Page Order not alpha order"]=>
int(16)
["Awards & Rankings Page View Not Themed When Logged In"]=>
int(21)
["Awards > All Language Versions > View for each year has a glitch"]=>
int(23)
["Clear Cache Error"]=>
int(27)
["Delete the following PDFs"]=>
int(28)
["Deployments"]=>
int(33)
["Drupal Core Update"]=>
int(34)
["Duplicating Intro text on the Contact Us page All of a Sudden"]=>
int(36)
["Events > Recruiting Events > Missing time in the theming"]=>
int(37)
["Events > Recruitment Events > Order by date is wrong now"]=>
int(38)
["Export CSV Error"]=>
int(39)
["Google Webmaster Tools > Recrawl a Page"]=>
int(40)
["Home URL path has two paths"]=>
int(42)
["Meetings"]=>
int(45)
["NEEDS ESTIMATE: IE11: Using back browser button in Portfolio causes load issue"]=>
int(46)
["ON HOLD: Webform does not open a new page when completed and submitted"]=>
int(47)
["Project Management"]=>
int(53)
["Set up"]=>
int(56)
["Set up node-specific metatag fields"]=>
int(60)
["Site Search > Not Indexing All Content"]=>
int(61)
["SMTP Setup"]=>
int(63)
["Task"]=>
int(64)
["Task Management"]=>
int(67)
["Universal Change > Styled Links in Colored Slices"]=>
int(69)
["Unrequiring the State Field in Project Template"]=>
int(75)
}
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
array(30) {
["Add an indicator that text has been shortened to the descriptions on the Search results page"]=>
int(0)
["AJAX error prevents address entry at node/add/project"]=>
int(6)
["An award taxonomy project for an award in 2014 is showing on the 2017 Award page. https://www.hdrinc.com/au/taxonomy/term/121/edit?destination=about-us/awards-rankings https://www.hdrinc.com/au/about-us/awards-rankings"]=>
int(7)
["AUS & German Versions > Event Landing Page View > Date Order Wrong"]=>
int(8)
["AUS & German Versions > News Landing Page View > Date Order Wrong"]=>
int(13)
["AUS Site > Awards Page Order not alpha order"]=>
int(16)
["Awards & Rankings Page View Not Themed When Logged In"]=>
int(21)
["Awards > All Language Versions > View for each year has a glitch"]=>
int(23)
["Clear Cache Error"]=>
int(27)
["Delete the following PDFs"]=>
int(28)
["Deployments"]=>
int(33)
["Drupal Core Update"]=>
int(34)
["Duplicating Intro text on the Contact Us page All of a Sudden"]=>
int(36)
["Events > Recruiting Events > Missing time in the theming"]=>
int(37)
["Events > Recruitment Events > Order by date is wrong now"]=>
int(38)
["Export CSV Error"]=>
int(39)
["Google Webmaster Tools > Recrawl a Page"]=>
int(40)
["Home URL path has two paths"]=>
int(42)
["Meetings"]=>
int(45)
["NEEDS ESTIMATE: IE11: Using back browser button in Portfolio causes load issue"]=>
int(46)
["ON HOLD: Webform does not open a new page when completed and submitted"]=>
int(47)
["Project Management"]=>
int(53)
["Set up"]=>
int(56)
["Set up node-specific metatag fields"]=>
int(60)
["Site Search > Not Indexing All Content"]=>
int(61)
["SMTP Setup"]=>
int(63)
["Task"]=>
int(64)
["Task Management"]=>
int(67)
["Universal Change > Styled Links in Colored Slices"]=>
int(69)
["Unrequiring the State Field in Project Template"]=>
int(75)
}