bufferhead-code/nextjs-use-php

Unexpected keyword or identifier for print

IlirEdis opened this issue · 1 comments

I'm trying to implement this on my existing project but i get this error:

Screenshot 2024-01-04 at 11 35 48

How do i enable 'use php' directive in my existing project?

Does this really work or its a kind of a joke?
Can i run cURL in here?
Can i use this in my production app hosted on vercel?

Take another look at the use php documentation, see the file tries to change to .tsx or jsx