3v4l.org

run code in 300+ PHP versions simultaneously
<?php $checkfor = (['serverId'=>'Server','featureId'=>'Feature','propertyId'=>'Property']); $checkforJson = json_encode($checkfor); var_dump($checkforJson);

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.5.30.0100.00820.46
8.5.20.0230.00717.86
8.5.10.0210.01116.62
8.5.00.0210.01318.24
8.4.180.0360.01019.55
8.4.170.0210.01121.60
8.4.160.0240.00921.56
8.4.150.0190.00516.47
8.4.140.0250.00917.29
8.4.130.0200.00817.62
8.4.120.0250.01019.11
8.4.110.0270.00919.92
8.4.100.0270.00618.41
8.4.90.0220.00518.92
8.4.80.0240.00517.94
8.4.70.0230.00518.53
8.4.60.0230.00918.01
8.4.50.0220.00617.93
8.4.40.0230.00818.62
8.4.30.0270.00718.31
8.4.20.0280.00718.91
8.4.10.0220.01118.45
8.3.300.0160.01319.56
8.3.290.0220.00819.39
8.3.280.0220.01018.11
8.3.270.0220.01217.49
8.3.260.0250.00817.42
8.3.250.0220.00917.61
8.3.240.0260.00516.24
8.3.230.0220.01116.48
8.3.220.0230.00917.53
8.3.210.0230.01016.56
8.3.200.0190.01116.57
8.3.190.0240.00916.65
8.3.180.0250.00516.83
8.3.170.0270.00618.39
8.3.160.0220.01316.82
8.3.150.0260.00816.75
8.3.140.0250.00416.76
8.3.130.0190.00816.49
8.3.120.0190.00718.47
8.3.110.0180.01118.71
8.3.100.0220.00716.49
8.3.90.0260.00919.93
8.3.80.0280.00620.44
8.3.70.0300.00819.14
8.3.60.0280.00920.48
8.3.50.0260.00619.98
8.3.40.0280.01021.00
8.3.30.0230.01221.01
8.3.20.0230.00721.05
8.3.10.0210.00722.04
8.3.00.0250.00521.75
8.2.300.0270.01019.10
8.2.290.0210.00818.66
8.2.280.0190.00918.19
8.2.270.0180.01116.71
8.2.260.0230.00517.40
8.2.250.0220.00718.25
8.2.240.0210.00517.60
8.2.230.0180.00819.38
8.2.220.0220.00420.18
8.2.210.0220.00623.29
8.2.200.0210.00620.54
8.2.190.0190.00620.56
8.2.180.0180.00920.52
8.2.170.0200.00621.19
8.2.160.0250.00522.48
8.2.150.0230.00623.49
8.2.140.0220.00723.09
8.2.130.0230.00923.55
8.2.120.0230.00621.78
8.2.110.0240.00621.87
8.2.100.0240.00620.79
8.2.90.0230.00620.74
8.2.80.0190.00920.78
8.2.70.0210.00620.74
8.2.60.0230.00420.88
8.2.50.0260.00521.41
8.2.40.0220.00921.35
8.2.30.0210.00721.17
8.2.20.0210.00720.76
8.2.10.0180.00920.83
8.2.00.0230.00920.64
8.1.340.0290.00917.36
8.1.330.0220.00818.92
8.1.320.0190.00816.10
8.1.310.0250.00616.44
8.1.300.0220.00817.31
8.1.290.0230.00820.54
8.1.280.0280.00822.94
8.1.270.0220.00923.36
8.1.260.0190.00423.59
8.1.250.0200.00424.14
8.1.240.0190.00520.46
8.1.230.0160.00722.34
8.1.220.0160.00421.22
8.1.210.0180.00920.98
8.1.200.0230.00520.43
8.1.190.0230.00520.36
8.1.180.0240.00421.31
8.1.170.0190.00720.96
8.1.160.0160.00921.05
8.1.150.0210.00721.04
8.1.140.0190.00822.11
8.1.130.0230.00521.47
8.1.120.0200.00720.59
8.1.110.0230.00420.58
8.1.100.0190.00921.10
8.1.90.0220.00720.58
8.1.80.0230.00820.53
8.1.70.0190.00720.55
8.1.60.0160.01120.66
8.1.50.0150.00720.59
8.1.40.0180.00320.64
8.1.30.0160.00320.73
8.1.20.0170.00820.67
8.1.10.0180.00420.59
8.1.00.0210.00720.50
8.0.300.0140.01121.60
8.0.290.0210.00720.03
8.0.280.0140.00419.06
8.0.270.0140.00720.85
8.0.260.0160.00520.68
8.0.250.0160.00820.16
8.0.240.0190.00320.71
8.0.230.0180.00520.16
8.0.220.0160.00520.71
8.0.210.0170.00820.18
8.0.200.0160.00620.26
8.0.190.0160.00820.16
8.0.180.0180.00320.72
8.0.170.0150.00420.08
8.0.160.0200.00620.15
8.0.150.0120.00520.15
8.0.140.0140.00520.02
8.0.130.0120.00618.97
8.0.120.0150.00620.02
8.0.110.0190.00520.09
8.0.100.0190.00620.76
8.0.90.0190.00520.10
8.0.80.0160.01018.78
8.0.70.0250.00620.11
8.0.60.0250.00720.09
8.0.50.0250.00720.03
8.0.30.0130.01118.32
8.0.20.0200.00719.88
8.0.10.0210.00819.34
8.0.00.0160.00718.45
7.4.330.0190.00720.27
7.4.320.0190.00719.95
7.4.300.0200.00419.90
7.4.290.0190.00719.91
7.4.280.0190.00919.92
7.4.270.0210.00719.84
7.4.260.0180.00519.89
7.4.250.0150.00619.87
7.4.240.0140.00520.53
7.4.230.0120.00719.88
7.4.220.0150.00419.99
7.4.210.0120.00618.18
7.4.200.0160.00819.90
7.4.190.0160.00819.98
7.4.180.0200.01019.86
7.4.160.0130.00817.88
7.4.150.0210.01019.88
7.4.140.0140.00918.31
7.4.130.0180.01018.48
7.4.120.0180.00717.62
7.4.110.0190.00918.06
7.4.100.0150.01017.59
7.4.90.0170.00717.37
7.4.80.0150.00917.53
7.4.70.0130.01117.18
7.4.60.0160.00817.29
7.4.50.0160.00917.15
7.4.40.0140.01017.09
7.4.30.0140.00917.13
7.4.20.0150.01017.23
7.4.10.0120.00917.01
7.4.00.0110.00916.79
7.3.330.0240.00418.64
7.3.320.0190.00518.65
7.3.310.0190.00620.27
7.3.300.0180.00619.74
7.3.290.0130.00718.22
7.3.280.0170.00518.29
7.3.270.0170.00620.34
7.3.260.0160.00817.56
7.3.250.0190.01018.80
7.3.240.0200.01018.29
7.3.230.0200.00717.97
7.3.220.0170.00917.78
7.3.210.0180.00817.29
7.3.200.0150.01017.09
7.3.190.0150.01017.15
7.3.180.0160.00817.06
7.3.170.0140.01016.99
7.3.160.0130.01016.95
7.3.150.0150.00917.09
7.3.140.0120.01017.00
7.3.130.0140.00816.80
7.3.120.0130.00916.76
7.3.110.0150.00716.77
7.3.100.0110.00916.26
7.3.90.0120.00916.16
7.3.80.0150.00916.08
7.3.70.0110.00716.03
7.3.60.0120.00716.06
7.3.50.0190.00916.01
7.3.40.0110.00916.12
7.3.30.0140.00716.10
7.3.20.0200.00816.23
7.3.10.0190.00616.18
7.3.00.0160.00816.18
7.2.340.0150.00918.87
7.2.330.0150.01017.41
7.2.320.0160.00917.35
7.2.310.0160.00817.26
7.2.300.0140.01017.32
7.2.290.0140.00917.26
7.2.280.0160.00917.16
7.2.270.0150.01017.18
7.2.260.0140.01016.96
7.2.250.0160.00816.98
7.2.240.0140.00816.98
7.2.230.0130.01016.71
7.2.220.0130.00916.44
7.2.210.0120.00916.25
7.2.200.0110.01016.34
7.2.190.0170.00916.25
7.2.180.0130.00916.21
7.2.170.0130.00816.24
7.2.160.0100.01016.16
7.2.150.0240.00816.39
7.2.140.0160.00916.41
7.2.130.0180.00916.42
7.2.120.0260.00816.41
7.2.110.0250.00816.34
7.2.100.0240.00716.32
7.2.90.0240.00916.34
7.2.80.0210.01016.31
7.2.70.0200.00916.34
7.2.60.0240.00916.27
7.2.50.0220.01016.33
7.2.40.0220.00916.36
7.2.30.0240.00916.35
7.2.20.0230.00916.27
7.2.10.0260.01016.30
7.2.00.0220.00816.31
7.1.330.0200.00716.41
7.1.320.0300.00915.66
7.1.310.0260.00915.59
7.1.300.0220.00815.53
7.1.290.0190.00715.61
7.1.280.0260.00815.60
7.1.270.0180.00815.45
7.1.260.0220.00715.42
7.1.250.0250.00815.40
7.1.240.0280.00715.40
7.1.230.0300.00815.32
7.1.220.0300.00915.36
7.1.210.0260.00715.33
7.1.200.0280.00915.33
7.1.190.0310.00615.36
7.1.180.0260.00815.34
7.1.170.0270.00815.35
7.1.160.0270.00815.34
7.1.150.0260.00915.33
7.1.140.0380.00815.38
7.1.130.0260.00815.38
7.1.120.0280.00715.36
7.1.110.0210.00815.35
7.1.100.0250.00915.34
7.1.90.0270.00815.39
7.1.80.0260.00915.35
7.1.70.0290.00815.34
7.1.60.0250.00916.10
7.1.50.0270.00916.14
7.1.40.0280.00916.10
7.1.30.0220.00816.07
7.1.20.0270.00916.10
7.1.10.0280.00715.32
7.1.00.0250.00815.33
7.0.330.0260.00815.01
7.0.320.0270.00715.26
7.0.310.0230.00815.27
7.0.300.0280.00815.23
7.0.290.0210.00715.31
7.0.280.0250.00815.15
7.0.270.0230.00815.27
7.0.260.0260.00815.22
7.0.250.0360.00815.31
7.0.240.0260.00715.31
7.0.230.0210.00915.30
7.0.220.0220.00815.28
7.0.210.0190.00915.27
7.0.200.0200.00815.30
7.0.190.0310.00815.27
7.0.180.0220.00815.26
7.0.170.0220.00815.27
7.0.160.0190.00815.27
7.0.150.0200.00715.27
7.0.140.0210.00815.27
7.0.130.0220.00715.27
7.0.120.0210.00915.34
7.0.110.0240.00615.29
7.0.100.0300.00915.24
7.0.90.0200.00715.25
7.0.80.0230.00715.24
7.0.70.0250.00815.25
7.0.60.0230.00915.25
7.0.50.0210.00815.25
7.0.40.0240.00715.27
7.0.30.0240.00815.24
7.0.20.0240.00815.27
7.0.10.0240.00715.27
7.0.00.0250.00915.27
5.6.400.0160.00915.60
5.6.390.0160.01015.68
5.6.380.0140.01115.57
5.6.370.0240.00915.82
5.6.360.0280.00815.82
5.6.350.0160.01015.83
5.6.340.0170.00915.80
5.6.330.0160.01115.87
5.6.320.0240.00915.89
5.6.310.0140.01115.87
5.6.300.0170.00815.81
5.6.290.0140.01015.86
5.6.280.0160.00815.86
5.6.270.0160.00915.87
5.6.260.0120.01215.83
5.6.250.0130.01015.76
5.6.240.0150.00915.84
5.6.230.0150.01115.82
5.6.220.0160.00915.82
5.6.210.0160.01215.79
5.6.200.0150.01015.81
5.6.190.0150.01015.81
5.6.180.0150.01015.81
5.6.170.0170.01015.83
5.6.160.0150.01115.77
5.6.150.0160.01015.83
5.6.140.0180.00815.79
5.6.130.0160.01015.80
5.6.120.0180.00915.80
5.6.110.0150.00915.74
5.6.100.0180.00915.78
5.6.90.0150.01215.79
5.6.80.0150.01115.71
5.6.70.0180.00815.74
5.6.60.0170.01015.77
5.6.50.0170.01115.72
5.6.40.0160.00915.73
5.6.30.0160.01015.71
5.6.20.0150.01115.72
5.6.10.0150.01015.72
5.6.00.0150.01115.75

preferences:
36.51 ms | 403 KiB | 5 Q