Skip to content

Commit

Permalink
[php-examples] update
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Jan 24, 2024
1 parent 1173a2e commit 72410ff
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion php-7.4/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.3.3"
"runtime": "vercel-php@0.3.5"
}
},
"routes": [
Expand Down
2 changes: 1 addition & 1 deletion php-8.0/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.4.1"
"runtime": "vercel-php@0.4.3"
}
},
"routes": [
Expand Down
2 changes: 1 addition & 1 deletion php-8.1/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.5.3"
"runtime": "vercel-php@0.5.4"
}
},
"routes": [
Expand Down
2 changes: 1 addition & 1 deletion php-8.2/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.6.0"
"runtime": "vercel-php@0.6.1"
}
},
"routes": [
Expand Down
2 changes: 2 additions & 0 deletions php-8.3/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Vercel
.vercel
3 changes: 3 additions & 0 deletions php-8.3/api/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php declare(strict_types = 1);

phpinfo();
10 changes: 10 additions & 0 deletions php-8.3/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.7.0"
}
},
"routes": [
{ "src": "/(.*)", "dest": "/api/index.php" }
]
}

0 comments on commit 72410ff

Please sign in to comment.