3v4l.org

run code in 300+ PHP versions simultaneously
<?php $teste = json_encode(array('nome' => 'Ramon', 'sobrenome' => 'Santos')); var_dump($teste);

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)
8.3.40.0150.00718.63
8.3.30.0070.00718.84
8.3.20.0000.00820.07
8.3.10.0040.00423.49
8.3.00.0040.00419.00
8.2.170.0120.00322.96
8.2.160.0100.00720.39
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0110.00726.16
8.2.120.0060.00319.16
8.2.110.0030.00622.25
8.2.100.0060.00617.72
8.2.90.0000.00719.09
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0070.00417.93
8.2.50.0090.00018.07
8.2.40.0030.00619.95
8.2.30.0000.00718.28
8.2.20.0080.00017.64
8.2.10.0040.00417.98
8.2.00.0050.00317.58
8.1.270.0040.00423.54
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0000.00923.83
8.1.230.0040.00719.15
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0030.00617.11
8.1.180.0000.00818.10
8.1.170.0040.00418.65
8.1.160.0040.00421.85
8.1.150.0050.00218.48
8.1.140.0000.00717.36
8.1.130.0000.00717.82
8.1.120.0070.00017.39
8.1.110.0000.00717.43
8.1.100.0070.00017.43
8.1.90.0000.00917.45
8.1.80.0030.00617.41
8.1.70.0000.00717.26
8.1.60.0050.00517.39
8.1.50.0000.00917.45
8.1.40.0030.00617.38
8.1.30.0050.00317.57
8.1.20.0050.00317.46
8.1.10.0000.00717.43
8.1.00.0000.00717.36
8.0.300.0030.00318.77
8.0.290.0040.00416.63
8.0.280.0070.00018.41
8.0.270.0030.00317.18
8.0.260.0030.00317.19
8.0.250.0030.00316.86
8.0.240.0030.00316.81
8.0.230.0050.00216.85
8.0.220.0000.00716.70
8.0.210.0030.00816.77
8.0.200.0030.00316.89
8.0.190.0000.00816.92
8.0.180.0000.00716.88
8.0.170.0000.00816.82
8.0.160.0000.00716.88
8.0.150.0040.00316.79
8.0.140.0000.00816.80
8.0.130.0000.00613.25
8.0.120.0040.00416.72
8.0.110.0000.00816.80
8.0.100.0090.00016.68
8.0.90.0000.00716.93
8.0.80.0030.01216.82
8.0.70.0040.00416.84
8.0.60.0040.00416.76
8.0.50.0040.00416.64
8.0.30.0100.00817.01
8.0.20.0060.01417.40
8.0.10.0030.00517.00
8.0.00.0060.01416.60
7.4.330.0050.00015.00
7.4.320.0000.00616.57
7.4.300.0060.00016.38
7.4.290.0000.00716.53
7.4.280.0030.00716.43
7.4.270.0080.00016.42
7.4.260.0000.00916.34
7.4.250.0050.00216.38
7.4.240.0070.00016.48
7.4.230.0030.00316.42
7.4.220.0090.00916.35
7.4.210.0020.01816.44
7.4.200.0070.00016.42
7.4.190.0000.00716.29
7.4.160.0080.00816.51
7.4.150.0110.00717.40
7.4.140.0140.00617.86
7.4.130.0080.00916.47
7.4.120.0120.00816.38
7.4.110.0100.00716.46
7.4.100.0120.00416.44
7.4.90.0140.00416.30
7.4.80.0100.00719.39
7.4.70.0080.00816.36
7.4.60.0060.01016.32
7.4.50.0040.00416.40
7.4.40.0100.01316.46
7.4.30.0100.00916.34
7.4.00.0100.00614.71
7.3.330.0030.00312.95
7.3.320.0030.00313.02
7.3.310.0000.00716.14
7.3.300.0070.00016.11
7.3.290.0140.00016.13
7.3.280.0030.01316.16
7.3.270.0110.00717.40
7.3.260.0120.01216.23
7.3.250.0110.00716.47
7.3.240.0070.01016.17
7.3.230.0070.01016.39
7.3.210.0150.00316.30
7.3.200.0090.01219.39
7.3.190.0110.01216.36
7.3.180.0070.00716.20
7.3.170.0000.01616.27
7.3.160.0090.00716.38
7.3.120.0090.00714.64
7.3.110.0070.01014.63
7.3.100.0040.01414.46
7.3.90.0070.01014.85
7.3.80.0070.00714.65
7.3.70.0060.00614.45
7.3.60.0030.00614.80
7.3.50.0000.01414.45
7.3.40.0060.00314.43
7.3.30.0000.01114.75
7.3.20.0040.00816.68
7.3.10.0110.00316.38
7.3.00.0030.00616.37
7.2.330.0150.00616.27
7.2.320.0110.01216.44
7.2.310.0070.01516.59
7.2.300.0120.00616.58
7.2.290.0070.01316.51
7.2.250.0130.00314.76
7.2.240.0100.01014.62
7.2.230.0070.00414.59
7.2.220.0060.00914.84
7.2.210.0070.00714.78
7.2.200.0000.01014.91
7.2.190.0000.01314.74
7.2.180.0000.00914.76
7.2.170.0070.00714.71
7.2.80.0000.01216.26
7.2.00.0060.00619.33
7.1.330.0070.00715.89
7.1.320.0030.01015.58
7.1.310.0060.00615.78
7.1.300.0030.01015.40
7.1.290.0130.00315.61
7.1.280.0030.01415.68
7.1.270.0060.00615.82
7.1.260.0050.00515.73
7.1.200.0090.00315.40
7.1.100.0070.00718.00
7.1.70.0030.01017.11
7.1.60.0100.01019.70
7.1.50.0070.01716.84
7.1.00.0070.07322.33
7.0.200.0000.00716.67
7.0.140.0030.07322.21
7.0.90.0470.08019.94
7.0.80.0670.05719.86
7.0.70.0030.05019.90
7.0.60.0030.07720.02
7.0.50.0030.05720.20
7.0.40.0070.07020.15
7.0.30.0000.08720.05
7.0.20.0070.08720.18
7.0.10.0030.09020.14
7.0.00.0030.05320.18
5.6.280.0000.07721.07
5.6.240.0030.05320.59
5.6.230.0070.08320.66
5.6.220.0070.05020.48
5.6.210.0100.07720.74
5.6.200.0070.04320.93
5.6.190.0130.08021.07
5.6.180.0070.06321.13
5.6.170.0100.08321.04
5.6.160.0100.07721.05
5.6.150.0100.07021.10
5.6.140.0100.07021.07
5.6.130.0130.08321.02
5.6.120.0200.07321.09
5.6.110.0000.07021.04
5.6.100.0100.07321.09
5.6.90.0000.08720.85
5.6.80.0170.05020.31
5.6.70.0070.08020.33
5.6.60.0070.04720.38
5.6.50.0070.08320.31
5.6.40.0070.06720.38
5.6.30.0000.07720.31
5.6.20.0070.07720.36
5.6.10.0070.05720.35
5.6.00.0170.07020.38
5.5.380.0170.06720.38
5.5.370.0100.04720.44
5.5.360.0030.08320.35
5.5.350.0000.08720.38
5.5.340.0030.05320.83
5.5.330.0170.06720.86
5.5.320.0070.08720.88
5.5.310.0030.06720.85
5.5.300.0100.08320.73
5.5.290.0130.07020.63
5.5.280.0170.06720.77
5.5.270.0070.04720.82
5.5.260.0100.04320.73
5.5.250.0100.07020.56
5.5.240.0030.06320.13
5.5.230.0000.08320.13
5.5.220.0030.06720.12
5.5.210.0070.08020.27
5.5.200.0070.05020.14
5.5.190.0130.05320.26
5.5.180.0030.06720.17
5.5.160.0100.07020.26
5.5.150.0000.04320.23
5.5.140.0070.03720.21
5.5.130.0100.06720.11
5.5.120.0130.04320.21
5.5.110.0100.05020.18
5.5.100.0070.07720.02
5.5.90.0030.08020.14
5.5.80.0100.04320.06
5.5.70.0070.06720.09
5.5.60.0000.08320.13
5.5.50.0070.05020.12
5.5.40.0030.08320.14
5.5.30.0030.08020.08
5.5.20.0130.06720.02
5.5.10.0130.07320.13
5.5.00.0070.04319.96
5.4.450.0070.07719.40
5.4.440.0170.07319.35
5.4.430.0070.08019.38
5.4.420.0170.06319.42
5.4.410.0170.06719.16
5.4.400.0170.06719.25
5.4.390.0070.05019.07
5.4.380.0170.07019.07
5.4.370.0070.04318.90
5.4.360.0030.05319.10
5.4.350.0100.05719.23
5.4.340.0100.07019.09
5.4.320.0030.05018.89
5.4.310.0070.06319.05
5.4.300.0130.08319.14
5.4.290.0070.07718.96
5.4.280.0030.04719.09
5.4.270.0000.05319.09
5.4.260.0100.07319.03
5.4.250.0070.06718.93
5.4.240.0070.07719.03
5.4.230.0100.07719.22
5.4.220.0070.08019.06
5.4.210.0100.07319.02
5.4.200.0130.04018.97
5.4.190.0130.07019.12
5.4.180.0100.03318.80
5.4.170.0000.08719.11
5.4.160.0030.06019.07
5.4.150.0030.04019.21
5.4.140.0030.05716.22
5.4.130.0000.08016.01
5.4.120.0170.07316.07
5.4.110.0100.04016.21
5.4.100.0000.04316.31
5.4.90.0100.06316.23
5.4.80.0100.04016.19
5.4.70.0070.04016.32
5.4.60.0100.06716.22
5.4.50.0100.04016.33
5.4.40.0130.06716.46
5.4.30.0100.06316.22
5.4.20.0130.06016.33
5.4.10.0100.06316.32
5.4.00.0030.03715.68
5.3.290.0030.05014.64
5.3.280.0170.07014.42
5.3.270.0070.07314.58
5.3.260.0070.07314.51
5.3.250.0030.04014.51
5.3.240.0070.07314.45
5.3.230.0000.06014.54
5.3.220.0230.03714.54
5.3.210.0130.03714.51
5.3.200.0070.08014.55
5.3.190.0070.06014.55
5.3.180.0070.07014.42
5.3.170.0030.07714.52
5.3.160.0030.05014.41
5.3.150.0070.06714.52
5.3.140.0070.07314.38
5.3.130.0030.07314.40
5.3.120.0070.04314.41
5.3.110.0100.07314.51
5.3.100.0130.07014.00
5.3.90.0000.08013.88
5.3.80.0070.04313.99
5.3.70.0070.04013.87
5.3.60.0100.06713.96
5.3.50.0200.02313.80
5.3.40.0070.07013.91
5.3.30.0000.05313.87
5.3.20.0130.06313.64
5.3.10.0100.06713.63
5.3.00.0070.07013.42
5.2.170.0030.03011.13
5.2.160.0000.05311.19
5.2.150.0100.06311.09
5.2.140.0070.03310.93
5.2.130.0030.06011.08
5.2.120.0030.06011.04
5.2.110.0030.04711.08
5.2.100.0070.05711.14
5.2.90.0000.05310.94
5.2.80.0100.05311.01
5.2.70.0100.05710.88
5.2.60.0030.06311.11
5.2.50.0070.06310.93
5.2.40.0030.05311.01
5.2.30.0000.04310.96
5.2.20.0030.05711.02
5.2.10.0030.05710.80
5.2.00.0130.04710.78
5.1.60.0030.05710.01
5.1.50.0100.05010.02
5.1.40.0100.0209.85
5.1.30.0000.04310.28
5.1.20.0000.04310.36
5.1.10.0030.0439.91
5.1.00.0030.0279.89
5.0.50.0070.0438.57
5.0.40.0000.0238.39
5.0.30.0030.0338.27
5.0.20.0030.0438.18
5.0.10.0030.0208.25
5.0.00.0000.0608.16
4.4.90.0030.0177.63
4.4.80.0000.0307.63
4.4.70.0070.0337.63
4.4.60.0000.0307.63
4.4.50.0030.0177.63
4.4.40.0070.0237.63
4.4.30.0030.0307.63
4.4.20.0000.0337.63
4.4.10.0000.0177.63
4.4.00.0000.0437.63
4.3.110.0030.0337.63
4.3.100.0030.0377.63
4.3.90.0030.0137.63
4.3.80.0030.0507.63
4.3.70.0000.0207.63
4.3.60.0030.0377.63
4.3.50.0000.0207.63
4.3.40.0030.0477.63
4.3.30.0000.0237.63
4.3.20.0030.0207.63
4.3.10.0000.0307.63
4.3.00.0000.0377.63

preferences:
48.06 ms | 400 KiB | 5 Q