3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params = ["one"=>"red","two"=>"blue","three"=>"green"]; $response = xmlrpc_encode($params); echo $response;

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.70.0070.01018.43
8.3.60.0100.01016.88
8.3.50.0110.00716.36
8.3.40.0180.00318.79
8.3.30.0000.01518.73
8.3.20.0070.00020.30
8.3.10.0040.00423.65
8.3.00.0000.00823.48
8.2.180.0040.01116.75
8.2.170.0110.00722.96
8.2.160.0030.01020.40
8.2.150.0070.00725.66
8.2.140.0060.00324.66
8.2.130.0040.00422.30
8.2.120.0040.00426.35
8.2.110.0040.00420.53
8.2.100.0090.00317.72
8.2.90.0040.00419.28
8.2.80.0000.00817.97
8.2.70.0080.00017.75
8.2.60.0050.00319.64
8.2.50.0060.00318.10
8.2.40.0070.00020.42
8.2.30.0040.00419.27
8.2.20.0000.00718.00
8.2.10.0000.00717.92
8.2.00.0040.00417.94
8.1.280.0140.00725.92
8.1.270.0040.00422.00
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.86
8.1.230.0000.01220.94
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0000.00817.53
8.1.180.0080.00018.10
8.1.170.0040.00418.68
8.1.160.0070.00018.81
8.1.150.0000.00718.73
8.1.140.0000.00719.56
8.1.130.0040.00418.72
8.1.120.0040.00417.44
8.1.110.0000.00717.44
8.1.100.0000.00717.23
8.1.90.0000.00817.43
8.1.80.0040.00417.33
8.1.70.0050.00317.33
8.1.60.0000.00817.56
8.1.50.0000.00817.50
8.1.40.0050.00217.45
8.1.30.0000.00817.64
8.1.20.0000.00717.52
8.1.10.0080.00017.46
8.1.00.0040.00417.52
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.29
8.0.270.0070.00017.18
8.0.260.0060.00016.68
8.0.250.0000.00616.97
8.0.240.0070.00316.88
8.0.230.0040.00416.95
8.0.220.0000.00716.89
8.0.210.0030.00316.90
8.0.200.0030.00316.92
8.0.190.0040.00416.92
8.0.180.0040.00416.88
8.0.170.0040.00416.85
8.0.160.0000.00716.89
8.0.150.0070.00016.82
8.0.140.0080.00016.92
8.0.130.0000.00613.26
8.0.120.0040.00416.80
8.0.110.0040.00416.85
8.0.100.0070.00016.89
8.0.90.0000.00816.71
8.0.80.0030.01416.95
8.0.70.0020.00516.92
8.0.60.0050.00216.66
8.0.50.0070.00016.94
8.0.30.0110.00817.03
8.0.20.0090.01117.40
8.0.10.0000.00817.04
8.0.00.0070.01116.93
7.4.330.0000.00615.55
7.4.320.0030.00316.44
7.4.300.0000.00616.43
7.4.290.0000.00716.52
7.4.280.0070.00016.57
7.4.270.0030.00316.56
7.4.260.0030.00316.46
7.4.250.0030.00516.54
7.4.240.0070.00016.59
7.4.230.0070.00016.66
7.4.220.0100.01016.56
7.4.210.0060.00916.66
7.4.200.0050.00216.57
7.4.160.0110.00616.40
7.4.150.0110.00717.40
7.4.140.0110.01117.86
7.4.130.0100.01016.42
7.4.120.0070.01116.52
7.4.110.0040.01516.47
7.4.100.0160.00616.43
7.4.90.0060.01216.42
7.4.80.0120.00619.39
7.4.70.0070.01416.49
7.4.60.0040.01116.54
7.4.50.0080.00516.42
7.4.40.0130.00716.61
7.4.30.0100.00616.50
7.4.00.0030.00914.89
7.3.330.0070.00013.09
7.3.320.0000.00513.06
7.3.310.0000.00716.20
7.3.300.0070.00016.14
7.3.290.0060.00716.25
7.3.280.0070.00916.25
7.3.270.0110.00717.40
7.3.260.0130.01416.27
7.3.250.0100.00816.29
7.3.240.0100.00916.29
7.3.230.0130.00316.52
7.3.210.0100.00616.26
7.3.200.0120.00916.36
7.3.190.0060.00916.51
7.3.180.0100.01316.54
7.3.170.0070.01416.51
7.3.160.0060.00916.34
7.3.10.0080.00516.61
7.3.00.0070.00416.44
7.2.330.0160.00616.60
7.2.320.0160.01016.70
7.2.310.0070.01116.19
7.2.300.0210.01416.29
7.2.290.0090.00916.49
7.2.130.0050.01016.62
7.2.120.0080.00516.60
7.2.110.0050.00816.60
7.2.100.0020.01216.54
7.2.90.0110.00116.72
7.2.80.0100.00316.42
7.2.70.0080.00416.81
7.2.60.0040.00716.71
7.2.50.0080.00516.66
7.2.40.0090.00316.77
7.2.30.0080.00616.83
7.2.20.0060.00816.72
7.2.10.0040.00916.64
7.2.00.0030.00916.58
7.1.250.0030.00615.49
7.1.200.0060.00615.66
7.1.110.0110.00317.70
7.1.100.0030.01017.88
7.1.90.0120.00018.22
7.1.80.0000.01217.90
7.1.70.0090.00416.71
7.1.60.0140.01435.14
7.1.50.0120.01534.81
7.1.40.0220.00634.29
7.1.30.0090.01834.38
7.1.20.0190.00934.36
7.1.10.0070.00716.44
7.1.00.0090.00616.64
7.0.250.0070.00717.71
7.0.240.0100.00617.81
7.0.230.0080.00417.75
7.0.220.0000.01217.74
7.0.210.0030.00916.65
7.0.200.0060.00816.77
7.0.190.0060.00616.51
7.0.180.0060.00916.05
7.0.170.0060.00816.06
7.0.160.0060.00816.05
7.0.150.0070.00716.20
7.0.140.0050.00816.14
7.0.130.0070.00716.30
7.0.120.0040.01116.62
7.0.110.0060.00915.93
7.0.100.0060.00916.39
7.0.90.0050.00916.10
7.0.80.0060.00616.33
7.0.70.0060.00616.17
7.0.60.0040.01115.83
7.0.50.0040.00816.11
7.0.40.0030.00916.21
7.0.30.0030.00916.21
7.0.20.0030.01116.15
7.0.10.0070.00716.43
7.0.00.0100.00316.14

preferences:
103.68 ms | 400 KiB | 5 Q