3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'value' => 123, 'value2'=>123456789012345678 ); $enc = json_encode($data); $dec = json_decode( $enc, true ); var_dump( ($data['value2'] === $dec['value2']) );

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.0190.00316.38
8.3.60.0120.00618.31
8.3.50.0080.00917.26
8.3.40.0140.00018.78
8.3.30.0070.00718.68
8.3.20.0040.00420.34
8.3.10.0000.00721.81
8.3.00.0040.00420.84
8.2.180.0070.00718.41
8.2.170.0070.00722.96
8.2.160.0100.00322.13
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.01022.29
8.2.120.0080.00026.35
8.2.110.0060.00322.15
8.2.100.0080.00417.91
8.2.90.0000.00817.90
8.2.80.0050.00317.97
8.2.70.0080.00017.50
8.2.60.0000.00817.93
8.2.50.0000.00818.10
8.2.40.0040.00420.60
8.2.30.0000.00720.94
8.2.20.0040.00417.91
8.2.10.0050.00318.16
8.2.00.0050.00217.93
8.1.280.0100.01025.92
8.1.270.0050.00322.18
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0100.00023.91
8.1.230.0040.00820.69
8.1.220.0060.00317.74
8.1.210.0040.00418.86
8.1.200.0130.00017.13
8.1.190.0040.00417.13
8.1.180.0070.00018.10
8.1.170.0050.00318.66
8.1.160.0030.00319.02
8.1.150.0040.00420.67
8.1.140.0070.00019.51
8.1.130.0030.00318.79
8.1.120.0030.00617.44
8.1.110.0030.00617.44
8.1.100.0050.00317.41
8.1.90.0080.00017.47
8.1.80.0000.00717.30
8.1.70.0000.00717.30
8.1.60.0030.00617.55
8.1.50.0000.00917.47
8.1.40.0040.00417.34
8.1.30.0050.00217.42
8.1.20.0040.00417.57
8.1.10.0050.00217.64
8.1.00.0030.00617.43
8.0.300.0000.00719.91
8.0.290.0060.00316.63
8.0.280.0000.00718.39
8.0.270.0040.00417.25
8.0.260.0030.00316.75
8.0.250.0030.00316.79
8.0.240.0000.00716.72
8.0.230.0050.00516.90
8.0.220.0070.00016.85
8.0.210.0000.00716.86
8.0.200.0000.00616.79
8.0.190.0040.00416.91
8.0.180.0030.00616.80
8.0.170.0000.00716.91
8.0.160.0080.00416.86
8.0.150.0040.00416.75
8.0.140.0050.00216.84
8.0.130.0000.00913.20
8.0.120.0000.00716.80
8.0.110.0070.00016.86
8.0.100.0070.00016.89
8.0.90.0040.00416.70
8.0.80.0100.01316.71
8.0.70.0000.00716.66
8.0.60.0020.00516.68
8.0.50.0070.00016.86
8.0.30.0110.00717.15
8.0.20.0110.00817.40
8.0.10.0000.00716.84
8.0.00.0170.00316.70
7.4.330.0000.00515.55
7.4.320.0040.00416.61
7.4.300.0000.00716.51
7.4.290.0080.00016.64
7.4.280.0000.00716.45
7.4.270.0020.00516.37
7.4.260.0040.00416.55
7.4.250.0030.00316.45
7.4.240.0000.00716.61
7.4.230.0000.00716.60
7.4.220.0130.00616.63
7.4.210.0040.01116.54
7.4.200.0040.00416.60
7.4.160.0130.00616.47
7.4.150.0110.00617.40
7.4.140.0050.01217.86
7.4.130.0070.01116.54
7.4.120.0090.01016.46
7.3.330.0060.00013.08
7.3.320.0060.00013.01
7.3.310.0000.00716.11
7.3.300.0060.00016.11
7.3.290.0080.00816.16
7.3.280.0090.00816.16
7.3.270.0060.01017.40
7.3.260.0110.00616.22
7.3.250.0110.00916.22
7.3.240.0090.00716.52
7.0.180.0270.01014.38

preferences:
41.02 ms | 401 KiB | 5 Q