Skip to content

Commit

Permalink
Adds warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alliballibaba2 committed Dec 20, 2024
1 parent 667bed1 commit fafffa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phpmainthread.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ func initPHPThreads(numThreads int) error {
phpThreads = make([]*phpThread, numThreads)

// initialize all threads as inactive
// this needs to happen before starting the main thread
// since some extensions access environment variables on startup
for i := 0; i < numThreads; i++ {
phpThreads[i] = newPHPThread(i)
convertToInactiveThread(phpThreads[i])
Expand Down

0 comments on commit fafffa9

Please sign in to comment.