3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! function tambah($a, $b) { $plus = $a + $b; return $plus } // passing nilai $nilaia = 1; $nilaib = 3; $nilaireturn = tambah($nilaia, $nilaib) echo "Nilai nya setelah ditambah" . $nilaireturn;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.5.10.0070.07717.21
5.5.00.0100.07717.21
5.4.170.0030.04019.02
5.4.160.0000.06719.04
5.4.150.0070.08019.01
5.4.140.0000.07316.39
5.4.130.0070.07016.42
5.4.120.0100.07016.40
5.4.110.0100.05016.45
5.4.100.0130.06016.35
5.4.90.0030.07716.30
5.4.80.0030.07716.36
5.4.70.0030.07716.36
5.4.60.0030.04316.57
5.4.50.0100.07716.52
5.4.40.0130.06016.41
5.4.30.0030.08016.35
5.4.20.0070.04716.55
5.4.10.0070.07716.45
5.4.00.0100.07015.77
5.3.270.0070.03714.66
5.3.260.0200.06014.60
5.3.250.0030.08314.66
5.3.240.0170.06714.81
5.3.230.0170.05314.69
5.3.220.0030.07714.59
5.3.210.0030.08314.59
5.3.200.0070.03714.59
5.3.190.0030.05314.52
5.3.180.0100.07714.59
5.3.170.0130.07014.59
5.3.160.0070.07314.40
5.3.150.0100.06014.66
5.3.140.0100.07014.61
5.3.130.0030.05314.54
5.3.120.0070.07714.50
5.3.110.0130.07014.50
5.3.100.0000.08314.25
5.3.90.0200.06014.05
5.3.80.0030.06014.00
5.3.70.0030.06714.05
5.3.60.0030.05714.20
5.3.50.0030.04313.94
5.3.40.0070.05713.97
5.3.30.0130.05713.94
5.3.20.0000.04013.76
5.3.10.0070.07013.66
5.3.00.0100.06313.67

preferences:
138.27 ms | 1394 KiB | 7 Q