sudo apt-add-repository ppa:ondrej/php
情報源: PHP 7.3 の最新版を Ubuntu 18.04 に apt インストールする – サーバー構築と設定 ~初心者にも分かりやすく解説~
sudo apt-add-repository ppa:ondrej/php
情報源: PHP 7.3 の最新版を Ubuntu 18.04 に apt インストールする – サーバー構築と設定 ~初心者にも分かりやすく解説~
function writeNewPost(uid, username, picture, title, body) { // A post entry. var postData = { author: username, uid: uid, body: body, title: title, starCount: 0, authorPic: picture }; // Get a key for a new Post. var newPostKey = firebase.database().ref().child(‘posts’).push().key; // Write the new post’s data simultaneously in the posts list and the user’s post list. var updates = {}; updates[‘/posts/’ + newPostKey] = postData; updates[‘/user-posts/’ + uid + ‘/’