Typed
Hypertext
Processor

Syntax, stdlib and types for PHP
Written in Rust

                
                    fun find_person(Str person_id) -> Result[Str] {
                        val person_id = try person_id.parse[Int]()
                        try Person::find_by_id(person_id)
                    }

                    val id = POST::get("person_id") ?: die
                    val person = find_person(person_id: id) ?: die

                    print(
                        <a href="/person/reports/{person.id}">
                            Hello {person.name}
                        </a>
                    )
                
            
Learn Install